[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Add me to the Perl group please!



-=| gregor herrmann, 16.12.2011 17:44:48 +0100 |=-
> There's still something weird with the debian/0.14-2 tag; it's shown
> by `git tag' but it's not visible with tig or gitk.
> No idea what's happening there. - Any git guru around who likes
> puzzles?

Let me play that role this time.

There is no real puzzle. Fire up 'gitk --all' and you'll see that the 
debian/0.14-2 tag is outside of the master branch. Perhaps if was part 
of it once, but then the branch was reset, so the tag was left 
"hanging". Subsequent 'debcommit -r' complained that the tag already 
exists and that's it.

Luckily, this means little in practice, since the *content* of the tag 
and the in-master "releasing version 0.14-2" commit (876ecb0) is 
exactly the same:

 $ git diff debian/0.14-2..876ecb0a6cc20e1dffd525e9f656158d6ecd7844
 $

Merging the tag to master is not of much use, as it would replace the 
ugliness of "hanging" tag with the ugliness of an older tag appearing 
in history after later tags.

Removing the tag and re-tagging the right commit is doable, but by now 
the hanging tag is spread on all clones and will require manual 
intervention to delete. I'd say let it be.

Attachment: signature.asc
Description: Digital signature


Reply to: