Re: [PATCH] Teach git-describe --long to output always the long format
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 25, 2008, 03:08 UTC
- Message-ID
- <7vwsotpwbr.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080225023634.GK8410@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 6 quoted lines
>> + else
>> + printf("%s-0-g%s\n", n->path,
>> + find_unique_abbrev(cmit->object.sha1, abbrev));
>
> Is this really that useful? Where is having the tag and the commit
> SHA-1 both useful?I had the same question. The only place that I find this could be useful is when you tag, build and install, and then find glitches before pushing the results out and rewind, rebuild and re-tag. I unfortunately have this issue almost all the time.
But even then, I would probably not rely on this patch.