From: Miklos Vajna Date: Mon, 25 Aug 2008 02:05:02 GMT Subject: Re: [PATCH v5] gitweb: ref markers link to named shortlogs 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 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.