git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH RFC] git describe without refs distinguishes dirty working tree

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 16, 2009, 20:37 UTC
Message-ID
<7veip3t6rm.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20091016173902.GT10505@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
> Yea, 1.7 may be safer for this, but also many scripts are based
> on the GIT-VERSION-GEN in git.git which uses HEAD as an explicit
> argument.  So they might actually be OK with this change.

Well, from my cursory look of its scripts/setlocalversion, even the Linux kernel is not safe X-<.

I still haven't heard anything that helps me to decide which way the default should be. The only concrete thing I have heard against the change of the default is that it will break existing setup, but I haven't heard anything concrete for the change yet.

Previous: Shawn O. PearceNext: Jean Privat
Message 4 of 8 in “git describe without refs distinguishes dirty working tree”
  1. git describe without refs distinguishes dirty working treeJean Privat, Oct 16, 2009
  2. Junio C HamanoOct 16, 2009
  3. Shawn O. PearceOct 16, 2009
  4. Junio C HamanoOct 16, 2009
  5. Jean PrivatOct 16, 2009
  6. Shawn O. PearceOct 16, 2009
  7. Junio C HamanoOct 16, 2009
  8. Nicolas PitreOct 17, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.