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

Re: gitk highlight feature

From
Paul Mackerras <paulus@samba.org>
Date
May 20, 2006, 00:07 UTC
Message-ID
<17518.24000.952384.563448@cargo.ozlabs.ibm.com>
In-Reply-To
<Pine.LNX.4.64.0605030946260.4086@g5.osdl.org>
Linus Torvalds writes:
> But the real thing I found is that when I decided I wanted to highlight, I 
> didn't actually want to highlight by "git-rev-list" at all. At least not 
> most of the time.

I just pushed some changes to the "new" branch of the gitk.git repository which change the way we do highlighting. There is now a row of controls across the middle of the window, just below the row containing the sha1 ID, "Find" button, etc., which controls the highlighting. There are (currently) three ways to do highlighting: by path, by view, and by author/committer. The author/committer matching is case-insensitive (since I'm clearly an insensitive sort of guy :) and matches any of the given strings anywhere in the author and committer fields. The path and author/committer entry widgets take a whitespace-delimited list of paths or names of interest, using shell quoting rules, so you can put for example:

"david s. miller" benh
in there and you'll get commits from either davem or benh highlighted.
Do people think this is useful and on the right track interface-wise?
Paul.
Previous: Linus TorvaldsNext: Linus Torvalds
Message 10 of 12 in “gitk highlight feature”
  1. Paul MackerrasMay 2, 2006
  2. Junio C HamanoMay 2, 2006
  3. Paul MackerrasMay 3, 2006
  4. Linus TorvaldsMay 3, 2006
  5. Linus TorvaldsMay 3, 2006
  6. Paul MackerrasMay 3, 2006
  7. Linus TorvaldsMay 3, 2006
  8. Paul MackerrasMay 3, 2006
  9. Linus TorvaldsMay 3, 2006
  10. Paul MackerrasMay 20, 2006
  11. Linus TorvaldsMay 20, 2006
  12. Paul MackerrasMay 21, 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.