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

Show patch in gitk --first-parent ?

From
Karl Wiberg <kha@treskal.com>
Date
Oct 30, 2013, 12:39 UTC
Message-ID
<CAFAOj7p49pQo=hXZT3TmMFF+KThKY-PZ2cgsZasH=e8rgjri1A@mail.gmail.com>
Hi all,

With "gitk --first-parent", I get a graph that only follows the first parent of every merge---perfect if you always merge topic branches into the main branch. However, the diff shown is still the normal merge diff, and not the diff between the new tree and the first parent's tree---is it possible to make it do that instead?

(With "git log --first-parent -p -m", I get precisely the diffs I want, but everything is fully expanded so it's hard to navigate.)

-- 
Karl Wiberg, kha@treskal.com
   subrabbit.wordpress.com
   www.treskal.com/kalle
Next: Stefan Haller
Message 1 of 6 in “Show patch in gitk --first-parent ?”
  1. Karl WibergOct 30, 2013
  2. Stefan HallerOct 30, 2013
  3. Karl WibergOct 30, 2013
  4. gitk: Add "First parent" checkboxStefan Haller, Oct 31, 2013
  5. Andreas SchwabOct 30, 2013
  6. Karl WibergOct 31, 2013

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.