After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 578143 - gitg doesn't display tags from tag objects
gitg doesn't display tags from tag objects
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gitg
git master
Other Linux
: Normal normal
: ---
Assigned To: gitg-maint
gitg-maint
Depends on:
Blocks:
 
 
Reported: 2009-04-06 15:09 UTC by Jonny Lamb
Modified: 2009-04-20 11:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonny Lamb 2009-04-06 15:09:06 UTC
Originally filed as Debian bug: http://bugs.debian.org/521062

"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."

and my reply:

"""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

"""
Comment 1 jessevdk@gmail.com 2009-04-20 11:27:36 UTC
I solved this, but I did it a little bit differently. I added the field %(*objectname) to the git for-each-ref command, which resolves to the commit SHA for real tag objects. But thanks for the bug filing and the patching!