]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'tb/diffstat-with-utf8-strwidth'
authorJunio C Hamano <gitster@pobox.com>
Fri, 28 Oct 2022 18:26:55 +0000 (11:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Oct 2022 18:26:55 +0000 (11:26 -0700)
"git diff --stat" etc. were invented back when everything was ASCII
and strlen() was a way to measure the display width of a string;
adjust them to compute the display width assuming UTF-8 pathnames.

* tb/diffstat-with-utf8-strwidth:
  diff: leave NEEDWORK notes in show_stats() function
  diff.c: use utf8_strwidth() to count display width

1  2 
diff.c

diff --cc diff.c
Simple merge