git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* why the 'g' prefix on the SHA1 in git-describe output?
@ 2007-11-03 12:25 Jim Meyering
  2007-11-03 13:56 ` Lars Hjemli
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Meyering @ 2007-11-03 12:25 UTC (permalink / raw)
  To: git list

Hello,

Can anyone tell me what motivated adding the 'g' prefix on the SHA1 in
git-describe output?  Is there some version-parsing/comparing tool that
misbehaves on a component like the SHA1 that would otherwise start with a
digit but contain non-numeric bytes, too?

Why do I ask?  Because I'm using a bastardized version of GIT-VERSION-GEN
in coreutils' build-aux/git-version-gen, and removed the 'g' to shorten
the string by a byte.  If there's a good reason (i.e., other than vanity :-)
for the 'g', I'll propose comments for GIT-VERSION-GEN, so others
don't do what I've done.

Jim

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-03 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-03 12:25 why the 'g' prefix on the SHA1 in git-describe output? Jim Meyering
2007-11-03 13:56 ` Lars Hjemli
2007-11-03 15:18   ` Andreas Ericsson
2007-11-03 16:10     ` Jim Meyering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).