]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'lp/diff-stat-utf8-display-width-fix'
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Feb 2026 23:42:01 +0000 (15:42 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Feb 2026 23:42:01 +0000 (15:42 -0800)
The computation of column width made by "git diff --stat" was
confused when pathnames contain non-ASCII characters.

* 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