summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorMark Levedahl <mlevedahl@gmail.com>2025-04-11 10:58:20 -0400
committerTaylor Blau <me@ttaylorr.com>2025-05-23 17:04:23 -0400
commita1ccd2512072cf52835050f4c97a4fba9f0ec8f9 (patch)
tree30a638941098c1ed3ccc67e2abaf5fbebad7f65e /git-gui/lib/commit.tcl
parent384b1409e8ba05bb908979a3f6aaa45bf93ac3c9 (diff)
git-gui: override exec and open only on Windows
Since aae9560a355d (Work around Tcl's default `PATH` lookup, 2022-11-23), git-gui overrides exec and open on all platforms. But, this was done in response to Tcl adding elements to $PATH on Windows, while exec, open, and auto_execok honor $PATH as given on all other platforms. Let's do the override only on Windows, restoring others to using their native exec and open. These honor the sanitized $PATH as that is written out to env(PATH) in a previous commit. auto_execok is also safe on these platforms, so can be used for _which. Signed-off-by: Mark Levedahl <mlevedahl@gmail.com> Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions