diff options
author | Jens Lehmann <Jens.Lehmann@web.de> | 2010-01-28 22:20:39 +0100 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-01-28 15:44:41 -0800 |
commit | 831cc7ebb43046c0e5122bc24ab77e2655f3b9b5 (patch) | |
tree | f42ee52b5d1994f4bd931526d6c968f7dc3ff917 | |
parent | cbdaf567c9178268b51a1dca2f0060111cae41e9 (diff) | |
download | git-831cc7ebb43046c0e5122bc24ab77e2655f3b9b5.tar.gz |
git-gui: Quote git path when starting another gui in a submodule
In do_git_gui the path of the git executable has to be put into a
list, otherwise calling it will fail when when spaces are present
in its path.
Reported-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rwxr-xr-x | git-gui.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui.sh b/git-gui.sh index 5749547585..debcc5f41b 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -2059,7 +2059,7 @@ proc do_git_gui {} { # -- Always start git gui through whatever we were loaded with. This # lets us bypass using shell process on Windows systems. # - set exe [_which git] + set exe [list [_which git]] if {$exe eq {}} { error_popup [mc "Couldn't find git gui in PATH"] } else { |