tags 521062 + patch
retitle 521062 gitg doesn't display tags from tag objects
kthxbye

On Tue, Mar 24, 17:03:09 +0100, Gerfried Fuchs wrote:
>  Subject should say it all - I started to sign the tags with my gnupg
> key and they don't show up in gitg, even though they show up in tig and
> gitk.

If you're interested, the real reason they're not showing up is not
because they're signed, it's because they're real tag objects. Currently
gitg can only deal with tags which point to a commit (so, a file in the
refs/tags/ namespace containing a sha1 of a commit object to point to).
Signed tags, and other normal tags these days, are also proper tag
objects.

You can find the commit a tag object points to by doing:

  % git cat-file tag <TAG-SHA>

This is essentially what I've done in the patch below, but I'm not
very happy with it at all. It would be great if you could check whether
this patch fixes your problem and I'll submit it upstream for review
and a clean-up.

The patch can be found in the debian-patches branch of the Debian
packaging:

  http://git.jonnylamb.com/?p=packaging/gitg.git;a=commitdiff;h=91767199d76f00

Thanks,

-- 
Jonny Lamb, UK
[email protected]

Attachment: signature.asc
Description: Digital signature

Reply via email to