Re: [PATCH] tag: --force is quiet about new tags

2013-03-13 Thread Michael J Gruber
Phil Hord venit, vidit, dixit 13.03.2013 05:21: On Tue, Mar 12, 2013 at 11:33 PM, Junio C Hamano gits...@pobox.com wrote: Phil Hord ho...@cisco.com writes: git tag --force is used to replace an existing tag with a new reference. Git helpfully tells the user the old ref when this happens.

[PATCH] tag: --force is quiet about new tags

2013-03-12 Thread Phil Hord
git tag --force is used to replace an existing tag with a new reference. Git helpfully tells the user the old ref when this happens. But if the tag name is new and does not exist, git tells the user the old ref anyway (00). Teach git to ignore --force if the tag is new. Add a test for this

Re: [PATCH] tag: --force is quiet about new tags

2013-03-12 Thread Junio C Hamano
Phil Hord ho...@cisco.com writes: git tag --force is used to replace an existing tag with a new reference. Git helpfully tells the user the old ref when this happens. But if the tag name is new and does not exist, git tells the user the old ref anyway (00). Teach git to ignore --force

Re: [PATCH] tag: --force is quiet about new tags

2013-03-12 Thread Phil Hord
On Tue, Mar 12, 2013 at 11:33 PM, Junio C Hamano gits...@pobox.com wrote: Phil Hord ho...@cisco.com writes: git tag --force is used to replace an existing tag with a new reference. Git helpfully tells the user the old ref when this happens. But if the tag name is new and does not exist,