aboutsummaryrefslogtreecommitdiffstats
path: root/lib/shortcut.tcl
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2025-05-23 17:04:27 -0400
committerTaylor Blau <me@ttaylorr.com>2025-05-23 17:04:27 -0400
commitafca9a4fb4e3c8acbc464bca69cde5c7397c25e1 (patch)
tree80b620507f14e2c9887879ca0dd152ee39e8dd8e /lib/shortcut.tcl
parentgit-gui: do not mistake command arguments as redirection operators (diff)
parentgit-gui: override exec and open only on Windows (diff)
downloadgit-afca9a4fb4e3c8acbc464bca69cde5c7397c25e1.tar.gz
git-afca9a4fb4e3c8acbc464bca69cde5c7397c25e1.zip
Merge branch 'ml/replace-auto-execok' into js/fix-open-exec
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'lib/shortcut.tcl')
-rw-r--r--lib/shortcut.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl
index d437ea6933..1d01d9cbfa 100644
--- a/lib/shortcut.tcl
+++ b/lib/shortcut.tcl
@@ -12,7 +12,7 @@ proc do_windows_shortcut {} {
set fn ${fn}.lnk
}
# Use git-gui.exe if available (ie: git-for-windows)
- set cmdLine [auto_execok git-gui.exe]
+ set cmdLine [list [_which git-gui]]
if {$cmdLine eq {}} {
set cmdLine [list [info nameofexecutable] \
[file normalize $::argv0]]