Subject: Re: git-rev-parse --symbolic-abbrev-name

From: Junio C Hamano <[email-masked]>
Date: Sun, 04 Jan 2009 11:36:33 -0800

Karl Chen <[email-masked]> writes:

> ... you really think "branchfoo" instead of
> "refs/heads/branchfoo" is a narrow special case?

Of course it is narrower.  There are namespaces other than "heads" under
refs, and not everybody is interested in branches.

> obviously all those people posting on blogs don't know about it :)

Yes, and that won't be helped by any new option to the plumbing.

The above two does not necessarily mean that it is useless to add a new
option to help a narrow special case that is common, though.