From 58c7db80ed1ade78b0516d071b0ef911df08d5cd 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 22270ce46b..0bfaa0f4ea 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