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

Re: Misrendering of git 2.25 log --graph

From
Derrick Stolee <stolee@gmail.com>
Date
Jan 24, 2020, 18:45 UTC
Message-ID
<3e9089c4-8ba6-b62c-cda3-607152790566@gmail.com>
In-Reply-To
<nycvar.YFH.7.76.2001241730030.32144@n3.vanv.qr>
On 1/24/2020 11:34 AM, Jan Engelhardt wrote:
Show 27 quoted lines
> On Friday 2020-01-24 15:06, Derrick Stolee wrote:
>>
>> I completely misread your ordering here. You are clear that this
>> is an issue in 2.24 and NOT 2.25. Sorry.
>>
>> I'm not sure that there is anything to do since the graph rendering
>> has changed so much, and we intend to keep the new version instead.
> 
> I now have a minimized reproducer, for *2.25*:
> 
> » ../git/git log --oneline --graph --all --decorate --topo-order
> *   e1ee7b8 (HEAD -> master) Merge branch 'k9' into k10
> |\  
> | *   7b48214 Merge branch 'k8' into k9
> | |\  
> | | *   ed02a51 Merge branch 'blah' into k8
> | | |\  
> | | | * 44279cf blah
> | | * |   4053c4d Merge branch 'k7' into k8
> | | |\ \  
> | |/ / /  
> | | | _   
> | | * 5b449d6 update 8.7 news
> | |/  
> | * 43a324f foo
> |/  
> * 5932a51 root

Hm. I get the above output for v2.24.1. Since you are using a specific path for your execution, then perhaps that version disagrees with the one on your PATH that reported "git version"?

For v2.25.0 I get this:
*   e1ee7b8 (HEAD -> master, origin/master, origin/HEAD) Merge branch 'k9' into k10
|\  
| *   7b48214 Merge branch 'k8' into k9
| |\  
| | *   ed02a51 Merge branch 'blah' into k8
| | |\  
| | | * 44279cf blah
| | * | 4053c4d Merge branch 'k7' into k8
| |/| | 
| | |/  
| | * 5b449d6 update 8.7 news
| |/  
| * 43a324f foo
|/  
* 5932a51 root

Again, the key is at 4053c4d where the first edge out of the merge commit moves to the left.

Thanks, -Stolee

Previous: Jan EngelhardtNext: SZEDER Gábor
Message 5 of 7 in “Misrendering of git 2.24 log --graph”
  1. Jan EngelhardtJan 23, 2020
  2. Derrick StoleeJan 24, 2020
  3. Derrick StoleeJan 24, 2020
  4. Jan EngelhardtJan 24, 2020
  5. Derrick StoleeJan 24, 2020
  6. SZEDER GáborJan 24, 2020
  7. Jan EngelhardtJan 24, 2020

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.