From e3f7a5896b62a84983cce314e2aebcbbe466f606 Mon Sep 17 00:00:00 2001 From: Karsten Blees Date: Fri, 7 Jan 2011 18:28:37 +0100 Subject: [PATCH] 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 --- git-gui/lib/browser.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-gui/lib/browser.tcl b/git-gui/lib/browser.tcl index 0328338fda..4fca8fb13c 100644 --- a/git-gui/lib/browser.tcl +++ b/git-gui/lib/browser.tcl @@ -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] } -- 2.11.4.GIT