From: Junio C Hamano Date: Sat, 24 May 2008 00:02:00 GMT Subject: Re: [PATCH] rev-parse --symbolic-full-name: don't print '^' if SHA1 is not a ref Message-ID: <7v3ao8r2mf.fsf@gitster.siamese.dyndns.org> In-Reply-To: <4836D0F1.4090007@viscovery.net> Johannes Sixt writes: > From: Johannes Sixt > > 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.