mirror of
https://github.com/git/git.git
synced 2026-02-22 07:44:55 +00:00
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 <blees@dcon.de>
This commit is contained in:
committed by
Johannes Schindelin
parent
000e1f111d
commit
584ed9fd86
@@ -7811,6 +7811,7 @@ proc getblobdiffline {bdf ids} {
|
||||
set diffinhdr 0
|
||||
continue
|
||||
}
|
||||
set line [encoding convertfrom $line]
|
||||
$ctext insert end "$line\n" filesep
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user