On Monday, February 4, 2008 at 13:59:25 (-0800) Junio C Hamano writes: >Bill Lear <rael@xxxxxxxxxx> 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. >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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html