gitk and tags

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

gitk and tags

From: Joakim Tjernlund <hidden>
Date: 2016-06-15 22:46:09

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

Re: gitk and tags

From: Santi Béjar <hidden>
Date: 2016-06-15 22:46:09

2009/2/12 Joakim Tjernlund [off-list ref]:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help