git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: new gitk feature

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 26, 2006, 15:09 UTC
Message-ID
<Pine.LNX.4.64.0604260802050.3701@g5.osdl.org>
In-Reply-To
<17487.21137.344427.173131@cargo.ozlabs.ibm.com>
On Wed, 26 Apr 2006, Paul Mackerras wrote:
Show 8 quoted lines
>
> I just pushed some changes to gitk which add a new feature, the
> ability to have multiple "views" of a repository.  Each view is a
> subgraph of the full graph.  At the moment the only subgraph that you
> can specify is the subgraph containing the commits that affect a
> specified set of files or directories.  You can switch between views
> quickly, and if the currently selected commit exists in the new view
> when you switch views, it is selected in the new view.

This gets close to something I wanted, but at the same time falls very short of it because the views are always shown completely disjoint.

I've wanted for a long time to have a way to _highlight_ commits. That's actually very much a "view" thing, but it's a mode where you really see one view, but the commits that exist in another view have a different color (or have the commits that _don't_ exist in the other view be grayed out).

I hope that your new "view" thing would support this notion too: instead of having to totally switch between view, it would be wonderful if you could have one "master view" and then use another view to "highlight".

Also, I think revision information should be part of a view. For example, in the "highlight" case, I'd love to have the "main view" be the default "everything", and then have some way to _highlight_ the view that is defined by the revision pattern "v1.3.1.."

Any possibility of something light that? I'd _love_ to be able to see the whole tree, but with things that touch certain files or things that are newer highlighted.

(Btw, the "revision information" is also cool things like "--unpacked". I actually use "gitk --unpacked" every once in a while, just because it's such a cool way to say "show me everything I've added since I packed the repo last).

			Linus
Previous: Jan-Benedict GlawNext: Paul Mackerras
Message 3 of 5 in “new gitk feature”
  1. Paul MackerrasApr 26, 2006
  2. Jan-Benedict GlawApr 26, 2006
  3. Linus TorvaldsApr 26, 2006
  4. Paul MackerrasApr 27, 2006
  5. Linus TorvaldsApr 28, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.