{"thread":{"id":"35015","subject":"fast-forwarding tags","startedAt":"2013-09-25T11:36:51Z","lastAt":"2013-09-25T19:28:20Z","messageCount":2,"participants":["Michael S. Tsirkin","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"228200","messageId":"20130925113651.GA19023@redhat.com","threadId":"35015","inReplyTo":null,"subject":"fast-forwarding tags","fromName":"Michael S. Tsirkin","fromEmail":"mst@redhat.com","sentAt":"2013-09-25T11:36:51Z","receivedAt":"2013-09-25T11:36:51Z","isPatch":false,"sender":{"key":"mst@kernel.org","avatar":null},"body":"Hi!\nLinus favors one-time use signed tags, e.g. for_linus.\nUnfortunately if I push to such a tag without -f,\nI get an error (\"already exists\").\nWould it make sense for there to be an option that makes it behave like\na head, and allow fast-forward?\n\n-- \nMST\n"},{"id":"228227","messageId":"20130925192820.GZ9464@google.com","threadId":"35015","inReplyTo":"20130925113651.GA19023@redhat.com","subject":"Re: fast-forwarding tags","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2013-09-25T19:28:20Z","receivedAt":"2013-09-25T19:28:20Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi,\n\nMichael S. Tsirkin wrote:\n\n> Linus favors one-time use signed tags, e.g. for_linus.\n> Unfortunately if I push to such a tag without -f,\n> I get an error (\"already exists\").\n> Would it make sense for there to be an option that makes it behave like\n> a head, and allow fast-forward?\n\nNah, I think I prefer keeping the safety. :)\n\nAre you pushing with \"git push --tags\", \"git push --follow-tags\", \"git\npush origin tag for-linus\", or \"git push origin for-linus\"?  It's\npossible that the last two should *always* allow overwriting tags\n(regardless of whether the change is a fast-forward update), though I\nhaven't thought it through carefully.  In the former two cases, the\ncheck for moving an existing tag seems useful and worth preserving.\n\nIn the meantime, a command like \"git push origin +for-linus\" seems\nlike a pleasant way to get the job done.  That way, nothing bad\nhappens if you get distracted and forget to add the for-linus argument\n(unlike \"git push -f origin\").\n\nThanks,\nJonathan\n"}]}