Re: Suggestion: drop 'g' in git-describe suffix
- From
Andy Whitcroft <apw@shadowen.org>
- Date
- Nov 2, 2006, 01:47 UTC
- Message-ID
- <45494E20.1000503@shadowen.org>
- In-Reply-To
- <eibh94$t7n$1@sea.gmane.org>
Han-Wen Nienhuys wrote:
Show 17 quoted lines
> > hi, > > the convention to use a 'g' in the output of git-describe, eg. > > [lilydev@haring lilypond]$ git describe --abbrev=39 > lilypond_2_9_7-g47778d2297276484c861fc7536da13feb2d5fe8 > > > is confusing: the g is also a hex digit, and without reading the manual > carefully, you'd think this is the commit g4777. > > Proposal: why not use > > tag#sha1 > > or some other non-hex character.
g is not a hex digit, hex is 0-f ??
In current versions of git, this whole string is also a valid name for the commit ie you can do the following:
git show lilypond_2_9_7-g47778d2297276484c861fc7536da13feb2d5fe8
-apw