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

Wrong coloring for "git log --oneline --graph --decorate --all"?

From
WUWindl, Ulrich <u.windl@ukr.de>
Date
Apr 10, 2024, 07:22 UTC
Message-ID
<cd3eb14853be4c58b31120bc1b129913@ukr.de>
Hi!

I think I found a bug for git 2.26.2 regarding "git log --oneline --graph --decorate --all": As the issue is about color, I'm attaching a small sample screenshot with some blue annotation arrows for reference.

I think the issue is that for a branch the "outgoing path to the right" (/) has the wrong color. For example consider commit 5516433: The main branch is red, and the "for off" is also red. The branch itself shows no color, but when merging back at 5a5b97f the color is green. So shouldn't be the whole branch "green"? Or did I misunderstand something?

Another example is the branch starting ad dd9f618: The main branch is red, and the forked branch is yellow, but the "fork off" (/) is red, too. When merged back at a5e424a, it (\) is green.

Likewise I don't understand why "main" branch a5e424a changes color multiple times until being merged at 5516433.
I hope the description is clear enough.

Kind regards, Ulrich

Message 1 of 1 in “Wrong coloring for "git log --oneline --graph --decorate --all"?”
  1. Windl, UlrichApr 10, 2024

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.