Re: git-rev-parse --symbolic-abbrev-name
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 4, 2009, 19:36 UTC
- Message-ID
- <7v63kuyibi.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <quack.20090104T0434.lthfxjz1c8x_-_@roar.cs.berkeley.edu>
Karl Chen <quarl@cs.berkeley.edu> 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.