From d73116bbddadd46d34ad70e001c7602b64f35648 Mon Sep 17 00:00:00 2001 From: Karsten Blees Date: Fri, 7 Jan 2011 18:38:07 +0100 Subject: [PATCH] gitk: fix file name encoding in diff hunk headers Decode file names from system encoding in all diff hunk header lines, not just the first (i.e. print nice file names in 'rename from' / 'rename to' / 'Binary files' lines, too). Signed-off-by: Karsten Blees --- gitk-git/gitk | 1 + 1 file changed, 1 insertion(+) diff --git a/gitk-git/gitk b/gitk-git/gitk index ce24487789..808ccc84d7 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -7855,6 +7855,7 @@ proc getblobdiffline {bdf ids} { set diffinhdr 0 continue } + set line [encoding convertfrom $line] $ctext insert end "$line\n" filesep } else { -- 2.11.4.GIT