mirror of
https://github.com/git/git.git
synced 2026-02-11 10:18:04 +00:00
git-gui: fix encoding in git-gui file browser
Assume git tree objects (i.e. output of git-ls-tree) are encoded in system encoding, for display in the git-gui file browser. Signed-off-by: Karsten Blees <blees@dcon.de>
This commit is contained in:
committed by
Pat Thoyts
parent
e72536ade0
commit
56175b17f6
@@ -197,7 +197,7 @@ method _ls {tree_id {name {}}} {
|
||||
$w conf -state disabled
|
||||
|
||||
set fd [git_read ls-tree -z $tree_id]
|
||||
fconfigure $fd -blocking 0 -translation binary -encoding binary
|
||||
fconfigure $fd -blocking 0 -translation binary
|
||||
fileevent $fd readable [cb _read $fd]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user