Contrary to what the documentation states the hash value is not (always?) prefixed with a g.
In #6 (comment) it was discussed that git describe (the command) prepends g to the hash, but this is actually not the case.
$ git log --oneline -1
d4ec867 (HEAD -> pact, origin/pact) ...
$ git describe --always
d4ec867
git describe (the command) will only prepend the g if a tag was found and HEAD does not point to the nearest tag.
I'm reporting here because of absolute-version/absolute-version-js#3
Contrary to what the documentation states the hash value is not (always?) prefixed with a
g.In #6 (comment) it was discussed that
git describe(the command) prependsgto the hash, but this is actually not the case.git describe(the command) will only prepend thegif a tag was found andHEADdoes not point to the nearest tag.I'm reporting here because of absolute-version/absolute-version-js#3