git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Santi Béjar" <santi@agolina.net>
To: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Cc: git@vger.kernel.org
Subject: Re: gitk and tags
Date: Thu, 12 Feb 2009 18:41:59 +0100	[thread overview]
Message-ID: <adf1fd3d0902120941r6c0be562r27a67e978c7cddd7@mail.gmail.com> (raw)
In-Reply-To: <OF13533D2E.931134C6-ONC125755B.005E1480-C125755B.005EAB59@transmode.se>

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

      reply	other threads:[~2009-02-12 17:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12 17:13 gitk and tags Joakim Tjernlund
2009-02-12 17:41 ` Santi Béjar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=adf1fd3d0902120941r6c0be562r27a67e978c7cddd7@mail.gmail.com \
    --to=santi@agolina.net \
    --cc=Joakim.Tjernlund@transmode.se \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).