This patch adresses diff.c:2721 and proposes the fix using a new function.
Md Isfarul Haque (2):
FIX: use utf8_strnwidth for line_prefix in diff.c
FIX memory leak in one branch
diff.c | 19 +++++++++++++++++--
diff.h | 1 +
2 files changed, 18 insertions(+), 2 deletions(-)
base-commit: e02ecfcc534e2021aae29077a958dd11c3897e4c
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1653%2FInnocentZero%2Fdiff_needswork-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1653/InnocentZero/diff_needswork-v1
Pull-Request: https://github.com/git/git/pull/1653