Re: BUG: %+ format placeholder and colors
- From
- Raphael <raphael@pdev.de>
- Date
- Mar 23, 2022, 18:12 UTC
- Message-ID
- <e8417ad5-f9f2-c1de-75f6-45be49f0011b@pdev.de>
- In-Reply-To
- <220323.86wnglnzrq.gmgdl@evledraar.gmail.com>
> At least for me a screenshot & a link to a repo you expect to run this > on would really help, since the output is very different depending on > branch topology, ref names etc.
I believe the branch topology is not relevant to reproduce this bug, it happens in my small demo repo with two commits as well as big repos.
I uploaded a screenshot at https://qu.ax/Mzuv.png The key is that lines starting with the pipe symbol should have their text printed in red, which does not happen.
The general idea is to highlight when a commit has refnames, which I want to print in an optional second line and colorized. The latter seems not possible currently.
The exact command used was: git log --pretty=format:'%h %s%Cred%+d test' --graph