summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorLorenzoPegorari <lorenzo.pegorari2002@gmail.com>2026-02-27 22:48:35 +0100
committerJunio C Hamano <gitster@pobox.com>2026-02-27 13:59:22 -0800
commit064b869efc50be2557015665bc3dc8ac9008a6e4 (patch)
treea0233c7d0098a88513f6a4d354d30076ec52ab93 /contrib/persistent-https
parent1a9df8de368cbebd881336f64e424422f3dbb993 (diff)
downloadgit-064b869efc50be2557015665bc3dc8ac9008a6e4.tar.gz
git-064b869efc50be2557015665bc3dc8ac9008a6e4.zip
t4052: test for diffstat width when prefix contains ANSI escape codes
Add test checking the calculation of the diffstat display width when the `line_prefix`, which is text that goes before the diffstat, contains ANSI escape codes. This situation happens, for example, when `git log --stat --graph` is executed: * `--stat` will create a diffstat for each commit * `--graph` will stuff `line_prefix` with the graph portion of the log, which contains ANSI escape codes to color the text Signed-off-by: LorenzoPegorari <lorenzo.pegorari2002@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions