* gitk and tags
@ 2009-02-12 17:13 Joakim Tjernlund
2009-02-12 17:41 ` Santi Béjar
0 siblings, 1 reply; 2+ messages in thread
From: Joakim Tjernlund @ 2009-02-12 17:13 UTC (permalink / raw)
To: git
Is there any way to make gitk display tags when specifying a path?
example: gitk drivers/usb/gadget
will show me all commits that touches this directory but I can't make gitk
show
me where the tags are so I can see which commits made it into what
release.
Jocke
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gitk and tags
2009-02-12 17:13 gitk and tags Joakim Tjernlund
@ 2009-02-12 17:41 ` Santi Béjar
0 siblings, 0 replies; 2+ messages in thread
From: Santi Béjar @ 2009-02-12 17:41 UTC (permalink / raw)
To: Joakim Tjernlund; +Cc: git
2009/2/12 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>:
> Is there any way to make gitk display tags when specifying a path?
> example: gitk drivers/usb/gadget
> will show me all commits that touches this directory but I can't make gitk
> show
> me where the tags are so I can see which commits made it into what
> release.
With a recent git you can say:
gitk --simplify-by-decoration drivers/usb/gadget
it will show the commits modifying the file and with a ref (tag or branch).
With the command line you can use:
git tag --contains <commit> # only in git v1.6.2-rc0
it lists all the tags that contain the given commit,
or
git describe --contains <commit>
that tells which is the nearer tag that contains the given commit.
HTH,
Santi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-12 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-12 17:13 gitk and tags Joakim Tjernlund
2009-02-12 17:41 ` Santi Béjar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).