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

Re: gitk highlight feature

From
Linus Torvalds <torvalds@osdl.org>
Date
May 3, 2006, 00:07 UTC
Message-ID
<Pine.LNX.4.64.0605021659430.4086@g5.osdl.org>
In-Reply-To
<17495.61142.677439.171773@cargo.ozlabs.ibm.com>
On Wed, 3 May 2006, Paul Mackerras wrote:
Show 5 quoted lines
>
> I just pushed out some changes to gitk which allow you to use one view
> to highlight another (see the "Highlight" submenu under the "View"
> menu), and which allow you to specify arbitrary git-rev-list arguments
> for a view.  The arguments string uses shell quoting conventions.

Ok. It looks interesting. I don't have a particular issue to try it with, but the bold-face certainly stands out enough that it was easy to ask for a high-light of any commits that changed the kernel/ subdirectory, and it was visually very obvious.

The interface does feel a bit awkward, though. Separating out "view" and "highlight" into two separate things seems wrong. Wouldn't it be better to just have multiple views in the "view" menu, and just a way to mark one or more of them as "highliht views".

Ie not a separate menu, but having the current "view" radio buttons be more flexible.

Show 6 quoted lines
> I had been thinking of having fields in the view editor dialog where
> you could put in refs that you did and didn't want included, date
> specifiers, etc., all in separate fields with suitable labels.  Now
> I'm thinking that it's probably just as convenient to put
> "ORIG_HEAD.." into the git-rev-list arguments field as it is to put
> "ORIG_HEAD" in the "Don't include commits reachable from this" field.

Yeah. I think it's easier with a single thing, just let people stick it there.

> There may be an argument for having fields for "Exclude commits before
> this date" and "Exclude commits after this date", because those things
> often have spaces in them (e.g. "2 weeks ago") which would have to be
> quoted in the git-rev-list arguments field.

I alwaus use "2.weeks.ago" instead, but I guess you could do a calendar widget or something.

		Linus
Previous: Paul MackerrasNext: Linus Torvalds
Message 4 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.