From: Andreas Ericsson Date: Wed, 24 Sep 2008 18:56:54 GMT Subject: Re: please consider remove those tags named master, which is ambigous with master branch Message-ID: <48DA8D76.1070207@op5.se> In-Reply-To: <81b0412b0809240844y42218bedqe0e1eb22c067fcc3@mail.gmail.com> Alex Riesen wrote: > 2008/9/23 rae l : >> To Git developers: >> I found that different git subcommand have inconsitent processing >> about ambiguous refname, >> >> git show will take "master" tag first, >> while git tag -v will take "master" branch first, >> >> So what's your suggestion to fix this? Just simple remove ambiguous refnames? > > You can use "refs/tags/master" and "refs/heads/master"... Apart from that.. "git tag -v" taking a branch *at all* is not something we want to happen, as it's supposed to verify the pgp signature of a signed tag. Are you absolutely 100% certain that "git tag -v" tries to verify refs/heads/master as a tag object? -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231