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

Re: Possible kinder GIT-VERSION-GEN?

From
Bill Lear <rael@zopyra.com>
Date
Feb 4, 2008, 22:32 UTC
Message-ID
<18343.37482.618436.999319@lisa.zopyra.com>
In-Reply-To
<7vve54ids2.fsf@gitster.siamese.dyndns.org>
On Monday, February 4, 2008 at 13:59:25 (-0800) Junio C Hamano writes:
Show 10 quoted lines
>Bill Lear <rael@zopyra.com> writes:
>
>> I have my home directory under git control, and I have a build
>> directory (not tracked by git) under my home directory into which I
>> untar files and then in which I build things, including git.
>
>Let me make sure I understand you by rephrasing.  You are
>extracting git tarball as an untracked subdirectory in an
>unrelated project, and GIT-VERSION-GEN misbehaves.  One such
>misbehaviour is that it adds -dirty.
Yes, that is correct.
Show 5 quoted lines
>And I think you are right.  The -dirty suffix should be relative
>to the output of "git describe".  Version string derived from
>any other codepath should not get the suffix, simply because we
>do not even know if it is dirty.  In fact, we should not even
>attempt to run that diff-index to figure out if it is dirty.
Ok, I trust you know what you are talking about with git-describe.:-)
Bill
Previous: Junio C Hamano
Message 3 of 3 in “Possible kinder GIT-VERSION-GEN?”
  1. Bill LearFeb 4, 2008
  2. Junio C HamanoFeb 4, 2008
  3. Bill LearFeb 4, 2008

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.