Re: [PATCH] Change GIT-VERSION-GEN to call git commands with "git" not "git-".
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 23, 2006, 01:20 UTC
- Message-ID
- <7vpsi58rkq.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <BAYC1-PASMTP09B22AA86724B4F2C01F7FAE9A0@CEZ.ICE>
Sean <seanlkml@sympatico.ca> writes:
Show 6 quoted lines
> GIT-VERSION-GEN can incorrectly return a default version of > "v1.3.GIT" because it tries to execute git commands using the > "git-cmd" format that expects all git commands to be in the $PATH. > Convert these to "git cmd" format so that a proper answer is > returned even when the git commands have been moved out of the > $PATH and into a $gitexecdir.
IIRC, the reason we spelled it as "git-describe" with a dash is ancient git wrapper said "not a git command" when given "describe" which it did not understand without failing.
I think it has been long enough since we introduced "git describe", so this would be OK.