Re: [PATCH v5] gitweb: ref markers link to named shortlogs
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Aug 25, 2008, 02:05 UTC
- Message-ID
- <20080825020502.GQ23800@genesis.frugalware.org>
- In-Reply-To
- <200808250153.31697.jnareb@gmail.com>
On Mon, Aug 25, 2008 at 01:53:30AM +0200, Jakub Narebski <jnareb@gmail.com> wrote:
> We strip leading "refs/" in git_get_references(), so $ref does not > contain it. I'm not sure of one has to use refs/heads/aaa and refs/tags/aaa > to distinguish between tag and head with the same name, or heads/aaa and > tags/aaa is enough.
You can have both heads/master and refs/heads/master, then heads/master is ambiguous.
Given that git fsck will not barf on such a configuration, I think gitweb should handle such a case as well.