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

get_git_head_revision in detached mode #24

Open
alinagrigoras opened this issue Feb 11, 2014 · 1 comment
Open

get_git_head_revision in detached mode #24

alinagrigoras opened this issue Feb 11, 2014 · 1 comment

Comments

@alinagrigoras
Copy link

Hi,

The tag is not correctly propagated if the tag is in a detached mode.
This is basically the same issue as the issue below, but instead of a branch the information needed is a tag.
#3

You can recreate the issue by creating a tag on a different branch than master, for example, the branch should not be checkout, but you directly check out the tag.

Cheers
Alina

@rpavlik
Copy link
Owner

rpavlik commented Apr 15, 2015

I think we can simplify the code here somewhat - some of it was to avoid having to shell out to Git, and some of it was to latch on to particular files to trigger a re-configure if important things happened in Git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants