Re: describe fails on tagless branch
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Feb 7, 2007, 09:22 UTC
- Message-ID
- <200702070922.57163.andyparkins@gmail.com>
- In-Reply-To
- <7vr6t2g1dt.fsf@assigned-by-dhcp.cox.net>
On Wednesday 2007 February 07 02:14, Junio C Hamano wrote:
> I do not think it a good idea to make "git-describe" itself do > the above, as the user of describe may want to fall back on > something other than "rev-parse --verify" after ||.
Agreed - the "nearest tag" mode (--abbrev=0) would be broken in that it git-describe would return a tag that doesn't exist.
Andy
-- Dr Andy Parkins, M Eng (hons), MIEE andyparkins@gmail.com