]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'lp/diff-stat-utf8-display-width-fix' into jch
authorJunio C Hamano <gitster@pobox.com>
Sat, 17 Jan 2026 17:48:19 +0000 (09:48 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Jan 2026 17:48:19 +0000 (09:48 -0800)
The computation of column width made by "git diff --stat" was
confused when pathnames contain non-ASCII characters.

Comments?

* lp/diff-stat-utf8-display-width-fix:
  t4073: add test for diffstat paths length when containing UTF-8 chars
  diff: improve scaling of filenames in diffstat to handle UTF-8 chars

1  2 
diff.c
t/meson.build

diff --cc diff.c
Simple merge
diff --cc t/meson.build
Simple merge