From 584ed9fd86e381e96da240865a19db5c1f751e15 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 a62f25d549..3660096db5 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -7811,6 +7811,7 @@ proc getblobdiffline {bdf ids} { set diffinhdr 0 continue } + set line [encoding convertfrom $line] $ctext insert end "$line\n" filesep } else {