Re: Possible kinder GIT-VERSION-GEN?
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.
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