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

Re: [PATCH RFC] graph: implement git-log(1) --untangle

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 6, 2026, 21:27 UTC
Message-ID
<xmqqv7g9d0kw.fsf@gitster.g>
In-Reply-To
<20260206-toon-log-graph-no-merge-base-v1-1-a6f983991a1d@iotcl.com>
Toon Claes <toon@iotcl.com> writes:
> I would argue the problem here are not the merge commits, but it's the
> way this is displayed.

I am curious, as anybody else who has read this message up to this point, how your --untangle option improves the same section of the history you drew above (which I did not include).

Show 7 quoted lines
> There are still some bugs in this implementation. And a bunch of memory
> leaks. Also am I not sold on the name `--untangle`. It sounds catchy,
> but it's name isn't very meaningful for most users. I've been thinking
> about `--ignore-merge-base` or `disconnect-merge-base`, but I'm open to
> better suggestions. That's why I'm submitting this as a RFC. Before I
> continue work on this, I'm curious if the project is open to such
> contribution? And if so, which direction it should go?

In any case, I am very happy to see another person who is not afraid of our C codebase to have looked at this part of the system (I have a long-standing pet peeve, unrelated to this issue, in this area).

Show 9 quoted lines
>  struct column {
> +	/*
> +	 * When only_first_merge_base is set this column might be ignoring it's
> +         * merge-base, store it here.
> +	 */
> +	struct commit_list *ignored_merge_bases;
>  	/*
>  	 * The parent commit of this column.
>  	 */
Previous: Toon ClaesNext: Toon Claes
Message 2 of 7 in “graph: implement git-log(1) --untangle”
  1. graph: implement git-log(1) --untangleToon Claes, Feb 6, 2026
  2. Junio C HamanoFeb 6, 2026
  3. Toon ClaesFeb 9, 2026
  4. Johannes SixtFeb 7, 2026
  5. Toon ClaesFeb 9, 2026
  6. Johannes SixtFeb 9, 2026
  7. Junio C HamanoFeb 9, 2026

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.