{"thread":{"id":"15636","subject":"Re: please consider remove those tags named master, which is ambigous with master branch","startedAt":"2008-09-23T14:46:08Z","lastAt":"2008-09-24T18:56:54Z","messageCount":3,"participants":["rae l","Alex Riesen","Andreas Ericsson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"91402","messageId":"91b13c310809230746o1c2cb694taebc814bea57c8c5@mail.gmail.com","threadId":"15636","inReplyTo":"91b13c310808310948r5e9e825as27bcdf381137e179@mail.gmail.com","subject":"Re: please consider remove those tags named master, which is ambigous with master branch","fromName":"rae l","fromEmail":"crquan@gmail.com","sentAt":"2008-09-23T14:46:08Z","receivedAt":"2008-09-23T14:46:08Z","isPatch":false,"sender":{"key":"crquan@gmail.com","avatar":"https://gravatar.com/avatar/8689a8a26f5d1c7515ca8226258710684dac5c5208b84a9e16a086377f2d3ded?d=mp&s=160"},"body":"To Smurf and Andrew:\n  Did you notice that there's a tag named \"master\" in the smurf\nmm-trees.git repo,\nthis would confuse the git and the users, please consider remove the\n\"master\" tag, OK?\n\n---------- Forwarded message ----------\nFrom: rae l <crquan@gmail.com>\nDate: Mon, Sep 1, 2008 at 12:48 AM\nSubject: please consider remove those tags named master, which is\nambigous with master branch\nTo: Matthias Urlichs <smurf@smurf.noris.de>\n\nplease consider remove those tags named master, which is ambigous with\nmaster branch\n\nhttp://git.kernel.org/?p=linux/kernel/git/smurf/linux-trees.git;a=tags\n\n--\n\nTo Git developers:\n  I found that different git subcommand have inconsitent processing\nabout ambiguous refname,\n\ngit show will take \"master\" tag first,\nwhile git tag -v will take \"master\" branch first,\n\nSo what's your suggestion to fix this? Just simple remove ambiguous refnames?\n\nOr we can add a feature to allow same refname in different namespaces\n(tags and branches)?\nSuch as \"-b\" to refer a branch while \"-t\" to refer a tag name? Else\nhow to distinguish them?\n\ngektop@tux ~/sforge/linux-2.6 0 $ PAGER= git show master\nwarning: refname 'master' is ambiguous.\ncommit 05230bd16821e2ec80321d72e97e7a2b1a07c6f2\nAuthor:     Adrian Bunk <bunk@stusta.de>\nAuthorDate: Sat Jul 30 00:45:08 2005 +0000\nCommit:     Matthias Urlichs <smurf@hera.kernel.org>\nCommitDate: Mon Aug 1 05:16:36 2005 -0700\n\n    sound-oss-sequencer_syms-unexport-reprogram_timer\n\n    This patch remoes an unneeded EXPORT_SYMBOL.\n\n    Signed-off-by: Andrew Morton <akpm@osdl.org>\n\ndiff --git a/sound/oss/sequencer_syms.c b/sound/oss/sequencer_syms.c\nindex 45edfd7..5d00879 100644\n--- a/sound/oss/sequencer_syms.c\n+++ b/sound/oss/sequencer_syms.c\n@@ -19,7 +19,6 @@ EXPORT_SYMBOL(sequencer_timer);\n EXPORT_SYMBOL(sound_timer_init);\n EXPORT_SYMBOL(sound_timer_interrupt);\n EXPORT_SYMBOL(sound_timer_syncinterval);\n-EXPORT_SYMBOL(reprogram_timer);\n\n /* Tuning */\n\ngektop@tux ~/sforge/linux-2.6 0 $ git tag -v master\nerror: 05230bd16821e2ec80321d72e97e7a2b1a07c6f2: cannot verify a\nnon-tag object of type commit.\nerror: could not verify the tag 'master'\n\n\n--\nDenis Cheng Renquan\n"},{"id":"91482","messageId":"81b0412b0809240844y42218bedqe0e1eb22c067fcc3@mail.gmail.com","threadId":"15636","inReplyTo":"91b13c310809230746o1c2cb694taebc814bea57c8c5@mail.gmail.com","subject":"Re: please consider remove those tags named master, which is ambigous with master branch","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2008-09-24T15:44:03Z","receivedAt":"2008-09-24T15:44:03Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"2008/9/23 rae l <crquan@gmail.com>:\n> To Git developers:\n>  I found that different git subcommand have inconsitent processing\n> about ambiguous refname,\n>\n> git show will take \"master\" tag first,\n> while git tag -v will take \"master\" branch first,\n>\n> So what's your suggestion to fix this? Just simple remove ambiguous refnames?\n\nYou can use \"refs/tags/master\" and \"refs/heads/master\"...\n"},{"id":"91510","messageId":"48DA8D76.1070207@op5.se","threadId":"15636","inReplyTo":"81b0412b0809240844y42218bedqe0e1eb22c067fcc3@mail.gmail.com","subject":"Re: please consider remove those tags named master, which is ambigous with master branch","fromName":"Andreas Ericsson","fromEmail":"ae@op5.se","sentAt":"2008-09-24T18:56:54Z","receivedAt":"2008-09-24T18:56:54Z","isPatch":false,"sender":{"key":"ae@op5.se","avatar":"https://gravatar.com/avatar/426e89595c75a8f5252dd0c989e5fabe5bcac616e68557427ad9aef6b0ca342a?d=mp&s=160"},"body":"Alex Riesen wrote:\n> 2008/9/23 rae l <crquan@gmail.com>:\n>> To Git developers:\n>>  I found that different git subcommand have inconsitent processing\n>> about ambiguous refname,\n>>\n>> git show will take \"master\" tag first,\n>> while git tag -v will take \"master\" branch first,\n>>\n>> So what's your suggestion to fix this? Just simple remove ambiguous refnames?\n> \n> You can use \"refs/tags/master\" and \"refs/heads/master\"...\n\nApart from that..\n\n\"git tag -v\" taking a branch *at all* is not something we want to\nhappen, as it's supposed to verify the pgp signature of a signed\ntag. Are you absolutely 100% certain that \"git tag -v\" tries to\nverify refs/heads/master as a tag object?\n\n-- \nAndreas Ericsson                   andreas.ericsson@op5.se\nOP5 AB                             www.op5.se\nTel: +46 8-230225                  Fax: +46 8-230231\n"}]}