]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit7d5a4d86a652ababe2ee1bbd27dcf0ccd30dd1c0
tree46302cdd8739c3b5a68a7b70e7ff40c7ca19e364
parent330135ac8163c822934c92ac363bd14cd23e1e13
parentce8529b2bbabcb5240bdcc73bccaafa1116c5d7a
Merge branch 'tb/diffstat-with-utf8-strwidth'

"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
diff.c