Re: [PATCH] rev-parse --symbolic-full-name: don't print '^' if SHA1 is not a ref
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 24, 2008, 00:02 UTC
- Message-ID
- <7v3ao8r2mf.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <4836D0F1.4090007@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
Show 9 quoted lines
> From: Johannes Sixt <johannes.sixt@telecom.at> > > The intention of --symbolic-full-name is to not print anything if a > revision is not an exact ref. But this command: > > $ git-rev-parse --symbolic-full-name --not master~1 > > still emitted a sole '^' to stdout (provided that there's no other ref at > master~1).
Well spotted. Thanks.