Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Xgit.Core.Ref: Add special case to allow the name "HEAD". #237

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Conversation

scouten
Copy link
Collaborator

@scouten scouten commented Nov 26, 2019

Changes in This Pull Request

An Xgit.Core.Ref struct is considered valid if name == "HEAD".

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented. n/a
  • There is test coverage for all changes.
  • All cases where a literal value is returned use the cover macro to force code coverage.
  • Any code ported from jgit maintains all existing copyright and license notices. n/a
  • If new files are ported from jgit, the path to the corresponding file(s) is included in the header comment. n/a
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment. n/a

@scouten scouten self-assigned this Nov 26, 2019
@codecov
Copy link

codecov bot commented Nov 26, 2019

Codecov Report

Merging #237 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #237   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          36     36           
  Lines        1285   1286    +1     
=====================================
+ Hits         1285   1286    +1
Impacted Files Coverage Δ
lib/xgit/core/ref.ex 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe61268...ad4e8a2. Read the comment docs.

@scouten scouten merged commit 1994f99 into master Nov 26, 2019
@scouten scouten deleted the ref+head branch November 26, 2019 05:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant