Re: [PATCH] doc: enhance git describe --tags help
- From
Uwe Kleine-König <ukleinek@strlen.de>
- Date
- Sep 30, 2008, 09:56 UTC
- Message-ID
- <20080930095641.GA9001@strlen.de>
- In-Reply-To
- <20080929150127.GB18340@spearce.org>
Hello,
On Mon, Sep 29, 2008 at 08:01:27AM -0700, Shawn O. Pearce wrote:
> --tags:: > If a lightweight tag exactly matches, output it. If no > annotated tag is found in the ancestry but a lightweight > tag is found, output the lightweight tag.
IMHO --tags should behave as Erez expected (because it's what I expected, too). As --tags currently behaves it's only usable in very rare cases (most of the time it only makes a difference on repos without any annotated tag).
When do you pass --tags? Only if a lightweight tag is OK for an answer. And then I would prefer a "near" lightweight tag to a "farer" annotated one.
Best regards Uwe