]> git.99rst.org Git - git.git/commit
git-gui: avoid auto_execok in do_windows_shortcut
authorMark Levedahl <redacted>
Thu, 3 Apr 2025 04:37:08 +0000 (00:37 -0400)
committerTaylor Blau <redacted>
Fri, 23 May 2025 21:04:23 +0000 (17:04 -0400)
commit00c7aa86e905175476e0dff149d570b48c34c8f1
tree9454ee9d633fa9e243e83f5b10a718134bfd2c6e
parent411cd493cb9998c2ba1c17dd98c3d3d4b121a1dd
git-gui: avoid auto_execok in do_windows_shortcut

git-gui on Windows uses auto_execok to locate git-gui.exe,
which performs the same flawed search as does the builtin exec.
Use _which instead, performing a safe PATH lookup.

Signed-off-by: Mark Levedahl <redacted>
Signed-off-by: Johannes Sixt <redacted>
Signed-off-by: Taylor Blau <redacted>
lib/shortcut.tcl
git clone https://git.99rst.org/PROJECT