Thread (19 messages) flat view 19 messages, 8 authors, 2016-08-11

Re: Suggestion: drop 'g' in git-describe suffix

From: Andy Whitcroft <hidden>
Date: 2016-08-11 20:37:42

Han-Wen Nienhuys wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help