threads / discuss / 1954

Cogito: cg-tag creates a tag object only if -s is specified

Subject: Cogito: cg-tag creates a tag object only if -s is specified

## tl;dr

2 messages between Sep 26, 2005 and Sep 26, 2005.

replies: 1people: 2as markdown or json

H. Peter Anvin· Sep 26, 2005, 23:36 UTC · lore

cg-tag only creates a tag object if -s (sign) is specified. This not only doesn't work properly with a fair number of tools (e.g. gitk), but it also means that any description the user has entered via the -d option is silently discarded!

Please create a tag object for all tags, even if it is not signed.
	-hpa
Petr Baudis· Sep 26, 2005, 23:54 UTC · re: H. Peter Anvin · lore

Re: Cogito: cg-tag creates a tag object only if -s is specified

Dear diary, on Tue, Sep 27, 2005 at 01:36:01AM CEST, I got a letter where "H. Peter Anvin" <hpa@zytor.com> told me that...

Show 6 quoted lines
> cg-tag only creates a tag object if -s (sign) is specified.  This not 
> only doesn't work properly with a fair number of tools (e.g. gitk), but 
> it also means that any description the user has entered via the -d 
> option is silently discarded!
> 
> Please create a tag object for all tags, even if it is not signed.

Yes, makes sense. In the past it seemed like a nice idea to only create it when we have to, but it has way too many downsides and if you still have a plausible reason not to want the tag objects, you're special enough to fallback to the lowlevel tools.

cg-tag now always creates tag objects.
Thanks for the feedback,
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.

← back to recent threads