diff options
| author | René Scharfe <l.s.r@web.de> | 2026-02-01 12:47:53 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-02 13:48:13 -0800 |
| commit | d519082d4ebf998cd9d10a5ef33544a479e7699c (patch) | |
| tree | 48fde642dc8da0b3550e4843580c113bde3a47fd /t/t4013/diff.format-patch_--inline_--stdout_initial..main^ | |
| parent | f368df439b31b422169975cc3c95f7db6a46eada (diff) | |
| download | git-d519082d4ebf998cd9d10a5ef33544a479e7699c.tar.gz git-d519082d4ebf998cd9d10a5ef33544a479e7699c.zip | |
blame: fix coloring for repeated suspects
The option --ignore-rev passes the blame to an older commit. This can
cause adjacent scoreboard entries to blame the same commit. Currently
we only look at the present entry when determining whether a line needs
to be colored for --color-lines. Check the previous entry as well.
Reported-by: Seth McDonald <sethmcmail@pm.me>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..main^')
0 files changed, 0 insertions, 0 deletions
