Skip to content

get_git_head_revision in detached mode #24

alinagrigoras opened this Issue Feb 11, 2014 · 1 comment

2 participants



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.

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.


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
Something went wrong with that request. Please try again.