threads / discuss / 5072

path-restricted gitk with tags showing up?

Subject: path-restricted gitk with tags showing up?

## tl;dr

4 messages between Aug 1, 2006 and Aug 1, 2006.

replies: 3people: 3as markdown or json

Olivier Galibert· Aug 1, 2006, 17:42 UTC · lore

I'd like to do a (f.i) gitk include/sound/asound.h but still see the commits which are in the DAG delimited by the alsa commits and have tags attached. The aim is to know what changes where in what released kernel version. Is there a way to do that?

  OG.
Linus Torvalds· Aug 1, 2006, 18:39 UTC · re: Olivier Galibert · lore

Re: path-restricted gitk with tags showing up?

On Tue, 1 Aug 2006, Olivier Galibert wrote:
Show 5 quoted lines
>
> I'd like to do a (f.i) gitk include/sound/asound.h but still see the
> commits which are in the DAG delimited by the alsa commits and have
> tags attached.  The aim is to know what changes where in what released
> kernel version.  Is there a way to do that?

Not right now. It should be fairly easy to add a flag that marks all tagged commits (or, indeed, anything that is reachable from .git/refs/) as "TREECHANGE" so that they aren't optimized away, but we don't have anything like that right now at least.

A small exercise for somebody who wants to get into git, perhaps? Hint, hint..

		Linus
Sergey Vlasov· Aug 1, 2006, 19:13 UTC · re: Olivier Galibert · lore

Re: path-restricted gitk with tags showing up?

On Tue, 1 Aug 2006 19:42:10 +0200 Olivier Galibert wrote:
> I'd like to do a (f.i) gitk include/sound/asound.h but still see the
> commits which are in the DAG delimited by the alsa commits and have
> tags attached.  The aim is to know what changes where in what released
> kernel version.  Is there a way to do that?

Since git-1.4.0 gitk shows this information in the "Follows:" and "Precedes:" lines for each commit (you need to enable "Display nearby tags" in preferences). In your case, the "Precedes" line will show the first kernel version which included the change.

Note that loading this information takes some time; gitk tries to load it in background, so you may see empty "Follows" and "Precedes" lines for some time.

Olivier Galibert· Aug 1, 2006, 19:33 UTC · re: Sergey Vlasov · lore

Re: path-restricted gitk with tags showing up?

On Tue, Aug 01, 2006 at 11:13:29PM +0400, Sergey Vlasov wrote:
Show 15 quoted lines
> On Tue, 1 Aug 2006 19:42:10 +0200 Olivier Galibert wrote:
> 
> > I'd like to do a (f.i) gitk include/sound/asound.h but still see the
> > commits which are in the DAG delimited by the alsa commits and have
> > tags attached.  The aim is to know what changes where in what released
> > kernel version.  Is there a way to do that?
> 
> Since git-1.4.0 gitk shows this information in the "Follows:" and
> "Precedes:" lines for each commit (you need to enable "Display nearby
> tags" in preferences).  In your case, the "Precedes" line will show the
> first kernel version which included the change.
> 
> Note that loading this information takes some time; gitk tries to load
> it in background, so you may see empty "Follows" and "Precedes" lines
> for some time.
Works rather well, thanks.
  OG.

← back to recent threads