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

Re: Show patch in gitk --first-parent ?

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Oct 30, 2013, 17:55 UTC
Message-ID
<874n7yiqxo.fsf@igel.home>
In-Reply-To
<CAFAOj7p49pQo=hXZT3TmMFF+KThKY-PZ2cgsZasH=e8rgjri1A@mail.gmail.com>
Karl Wiberg <kha@treskal.com> writes:
Show 5 quoted lines
> 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?

While not automatic, you can right click on the parent and select Diff this->selected.

Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Stefan HallerNext: Karl Wiberg
Message 5 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.