From d08e5cd3ae1388dbdcb4487edff58600421c098f 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 d93bd990a9..55bb9c7d43 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