summaryrefslogtreecommitdiff
path: root/git-gui/lib/console.tcl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-12-26 08:02:23 -0800
committerJunio C Hamano <gitster@pobox.com>2024-12-26 08:02:23 -0800
commit76cf4f61c87855ebf0784b88aaf737d6b09f504b (patch)
treeed7c817bbe0b64a8aebae7feec79aeb4b743b436 /git-gui/lib/console.tcl
parent996f0c583b36aa5d6c6308285aea1421eb7efae7 (diff)
parent5c95773eacee6eeecc16506fad3ca7fe6bf249be (diff)
Merge https://github.com/j6t/git-gui
* 'master' of https://github.com/j6t/git-gui: git-gui: use system encoding to show console output git-gui: Remove forced rescan of stat-dirty files.
Diffstat (limited to 'git-gui/lib/console.tcl')
-rw-r--r--git-gui/lib/console.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui/lib/console.tcl b/git-gui/lib/console.tcl
index bb6b9c889e..fafafb81f1 100644
--- a/git-gui/lib/console.tcl
+++ b/git-gui/lib/console.tcl
@@ -97,7 +97,7 @@ method exec {cmd {after {}}} {
lappend cmd 2>@1
set fd_f [_open_stdout_stderr $cmd]
}
- fconfigure $fd_f -blocking 0 -translation binary
+ fconfigure $fd_f -blocking 0 -translation binary -encoding [encoding system]
fileevent $fd_f readable [cb _read $fd_f $after]
}