git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Windl, Ulrich" <u.windl@ukr.de>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Wrong coloring for "git log --oneline --graph --decorate --all"?
Date: Wed, 10 Apr 2024 07:22:32 +0000	[thread overview]
Message-ID: <cd3eb14853be4c58b31120bc1b129913@ukr.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 958 bytes --]

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


[-- Attachment #2: git-log.png --]
[-- Type: image/png, Size: 19871 bytes --]

                 reply	other threads:[~2024-04-10  7:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd3eb14853be4c58b31120bc1b129913@ukr.de \
    --to=u.windl@ukr.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).