Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that unpacked tags are found. #2

Merged
merged 1 commit into from
Feb 3, 2015

Conversation

rwjblue
Copy link
Owner

@rwjblue rwjblue commented Feb 3, 2015

The initial tag support only checked .git/refs/packed-refs, which will only contain tags that have been packed via git pack-refs (see here).

By default tags are stored in .git/refs/tags/ with a separate file for each tag (contents is the SHA).

The initial tag support only checked `.git/refs/packed-refs`, which will
only contain tags that have been packed via `git pack-refs` ([see
here](https://www.kernel.org/pub/software/scm/git/docs/git-pack-refs.html)).

By default tags are stored in `.git/refs/tags/` with a separate file for
each tag (contents is the SHA).
rwjblue added a commit that referenced this pull request Feb 3, 2015
@rwjblue rwjblue merged commit c2fc2db into master Feb 3, 2015
@rwjblue rwjblue deleted the ensure-non-packed-tags-are-found branch February 3, 2015 13:46
rwjblue added a commit to rwjblue/git-repo-version that referenced this pull request Feb 3, 2015
The initial tag support only checked `.git/refs/packed-refs`, which will only contain tags that have been packed via `git pack-refs` ([see here](https://www.kernel.org/pub/software/scm/git/docs/git-pack-refs.html)).

By default tags are stored in `.git/refs/tags/` with a separate file for each tag (contents is the SHA).

See: rwjblue/git-repo-info#2

---

Also, use permissive versioning since git-repo-info is 1.x (and adheres to SemVer).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant