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 28, 2006, 05:11 UTC
Message-ID
<Pine.LNX.4.64.0604272209060.3701@g5.osdl.org>
In-Reply-To
<17489.22838.502099.575465@cargo.ozlabs.ibm.com>
On Fri, 28 Apr 2006, Paul Mackerras wrote:
Show 8 quoted lines
> Linus Torvalds writes:
> > 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.
> 
> That should be quite doable.  How about I show the commits that are in
> the highlight view in bold?  That won't conflict with the existing
> yellow background for commits that match the find criteria.
Bold sounds good to me.
Show 9 quoted lines
> > (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).
> 
> OK, I didn't know about --unpacked. :)  I plan to add stuff to the
> view definition window to allow you to select commits to
> include/exclude by reachability from given commits (by head/tag/ID)
> and when I do I can add a way to say --unpacked too.

It's more of a gimmick, but I find myself using it occasionally just to decide whether it's time to repack. It falls out automatically - not because I thought I'd ever want it, but because the --unpacked semantics for git-rev-list are what incremental packing needed.

(Of course, sane people probably just do "git count-objects" to decide to repack).

		Linus
Previous: Paul Mackerras
Message 5 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.