]> git.ipfire.org Git - thirdparty/git.git/commit
git-gui: use /cmd/git-gui.exe for shortcut
authorMark Levedahl <mlevedahl@gmail.com>
Sun, 13 Apr 2025 18:45:04 +0000 (14:45 -0400)
committerMark Levedahl <mlevedahl@gmail.com>
Tue, 22 Jul 2025 14:21:44 +0000 (10:21 -0400)
commit158800ac9c792b875b2cd138a1ecbfb14fa6a71a
tree05aa38b6e01125d6cea42bf3bf93160de9b57307
parent3c8e1fe0eaaa976aace243680b825099f687a9bd
git-gui: use /cmd/git-gui.exe for shortcut

git-gui on Windows creates a shortcut that presumes the git-gui script
will run on the basic Windows environment as configured. But, Git for
Windows uses wrapper scripts to launch executables, assuring the
environment is correct (see [1] for details). The launcher for git-gui
is /cmd/git-gui.exe, is not on PATH, and is not detected or used by the
current shortcut code. Let's look for this before trying the existing
approaches.

[1] https://gitforwindows.org/git-wrapper.html

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
lib/shortcut.tcl