diff options
author | Junio C Hamano <gitster@pobox.com> | 2025-06-15 21:52:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-06-15 21:54:23 -0700 |
commit | e1775c06465436437f2db0d3b6f59a61cfde0f2d (patch) | |
tree | ee5fb0758ceb486902d80df4edb6d63ee5f3e53e /git-gui/lib/console.tcl | |
parent | 16bd9f20a403117f2e0d9bcda6c6e621d3763e77 (diff) | |
parent | aadf8ae518afd80b73d49eff8aff475161aa5157 (diff) |
Sync with 2.49.1
Diffstat (limited to 'git-gui/lib/console.tcl')
-rw-r--r-- | git-gui/lib/console.tcl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/git-gui/lib/console.tcl b/git-gui/lib/console.tcl index fafafb81f1..a017cfeadd 100644 --- a/git-gui/lib/console.tcl +++ b/git-gui/lib/console.tcl @@ -92,10 +92,9 @@ method _init {} { method exec {cmd {after {}}} { if {[lindex $cmd 0] eq {git}} { - set fd_f [eval git_read --stderr [lrange $cmd 1 end]] + set fd_f [git_read [lrange $cmd 1 end] [list 2>@1]] } else { - lappend cmd 2>@1 - set fd_f [_open_stdout_stderr $cmd] + set fd_f [safe_open_command $cmd [list 2>@1]] } fconfigure $fd_f -blocking 0 -translation binary -encoding [encoding system] fileevent $fd_f readable [cb _read $fd_f $after] |