Re: git-tag bug? confusing git fast-export with double tag objects

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthias Andree
Date: Friday, May 15, 2009 - 9:14 am

Am 15.05.2009, 17:51 Uhr, schrieb Alex Riesen <raa.lkml@gmail.com>:


I seem to lack intermediate messages, probably queued somewhere, yet I'll  
respond already.

Moving a tag on top of itself is just stupid. The result of git -f doesn't  
properly match documentation IMO. There is no clear consensus if it's  
"gone". It's gone from the refs/ namespace, but kept in the object space,  
so there's a split meaning of "replace" or "delete" here.

Arguably, we already need to say -f once, but nothing prevents me from  
using git tag -d first and then tag the dangling old_tag1 object to revive  
it.

Nobody has shown valid reasons of existence for such tags, or valid  
semantics, or use cases.

It's confusing => usability problem => let's put a warning there. I'm not  
sure if "error()" is the right function to call here, since I don't have  
the full patch to look at.

At any rate, a policy of obstruction is as invalid as anything.

-- 
Matthias Andree
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git-tag bug? confusing git fast-export with double tag ..., Matthias Andree, (Fri May 15, 9:14 am)
Re: git-tag bug? confusing git fast-export with double tag ..., Andreas Ericsson, (Sat May 16, 12:14 am)