From 3db9c79264d7811c3be461eb1b6998f080623adc 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 5cd00d80fe..d36f15c834 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -7952,6 +7952,7 @@ proc getblobdiffline {bdf ids} { set diffinhdr 0 continue } + set line [encoding convertfrom $line] $ctext insert end "$line\n" filesep } else {