]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ml/windows-tie-loose-ends'
authorJohannes Sixt <j6t@kdbg.org>
Thu, 31 Jul 2025 17:20:22 +0000 (19:20 +0200)
committerJohannes Sixt <j6t@kdbg.org>
Thu, 31 Jul 2025 17:20:22 +0000 (19:20 +0200)
* ml/windows-tie-loose-ends:
  git-gui: use /cmd/git-gui.exe for shortcut
  git-gui: Windows tk_getSaveFile is not useful for shortcuts
  git-gui: let nice work on Windows
  git-gui: do not add directories to PATH on Windows

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
1  2 
git-gui.sh

diff --cc git-gui.sh
index 8bb121db4f5f8c12b780aa65c0f00a658ce9f924,2b5b596400085bb5060d5d37e6eb5d27e8d7684c..d4b1d95d63968a3edbec452728389ab90ac0ea92
@@@ -79,16 -81,12 +79,10 @@@ proc is_Cygwin {} 
  
  if {[is_Windows]} {
        set _path_sep {;}
 -      set _search_exe .exe
  } else {
        set _path_sep {:}
 -      set _search_exe {}
  }
  
- if {[is_Windows]} {
-       set gitguidir [file dirname [info script]]
-       regsub -all ";" $gitguidir "\\;" gitguidir
-       set env(PATH) "$gitguidir;$env(PATH)"
- }
  set _search_path {}
  set _path_seen [dict create]
  foreach p [split $env(PATH) $_path_sep] {