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

Re: [PATCH] gitk: Add "First parent" checkbox

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Nov 8, 2010, 21:11 UTC
Message-ID
<20101108211101.GA13114@burratino>
In-Reply-To
<1jrnp0m.116vp4ycag4blM%lists@haller-berlin.de>
Stefan Haller wrote:
Show 5 quoted lines
>                                   Most of the diff related options are
> ones that I want to toggle with one click.  That's certainly true for
> "Ignore space change", "First parent", and the "Diff/Old Version/New
> Version" radio buttons.  I would hate to see any of them be removed from
> the diff pane.

Thanks, that's useful information. Could you give example workflows to illustrate this? Here's an example:

   Toggling between "Diff/Old version/New version" with a single click
   allows one to compare the preimage and postimage of a patch visually.
   It makes what changed much more obvious.
   Historically these have been radio buttons on the top-left part of
   the diff pane.  If they move, it might be hard for people already
   familiar with gitk to find them.
   The preimage/postimage toggle is a useful and novel feature, and it
   is greedy with respect to screen real estate (a few extra diff
   lines can go a long way), so it would not be good to hide it in a
   separate "more diff options" toolbar.

The case for one-click "diff against parent" is less clear. Is it that it gets toggled in practice often (i.e., avoiding pointless repetitive actions)?

Hope that helps.
Previous: Stefan HallerNext: Stefan Haller
Message 6 of 9 in “gitk: Add "First parent" checkbox”
  1. gitk: Add "First parent" checkboxStefan Haller, Nov 8, 2010
  2. Jonathan NiederNov 8, 2010
  3. Stefan HallerNov 8, 2010
  4. Jonathan NiederNov 8, 2010
  5. Stefan HallerNov 8, 2010
  6. Jonathan NiederNov 8, 2010
  7. Stefan HallerNov 10, 2010
  8. Paul MackerrasDec 12, 2010
  9. gitk: Add "First parent" checkboxlists@haller-berlin.de, Dec 12, 2010

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.