diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2006-11-15 22:53:53 -0500 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2006-11-17 23:56:15 -0500 |
commit | 306500fc09e7d8be042e8b9abbd9011b80b3300d (patch) | |
tree | b0f3dec8fa11c083bb79fe94d14cfdc45f0695ef | |
parent | git-gui: Protect ourselves from funny GIT_DIR/working directory setups. (diff) | |
download | tgif-306500fc09e7d8be042e8b9abbd9011b80b3300d.tar.xz |
git-gui: Handle ' within paths when creating Windows shortcuts.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rwxr-xr-x | git-gui | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2049,6 +2049,8 @@ proc do_windows_shortcut {} { --unix \ --absolute \ $gitdir] + regsub -all ' $me "'\\''" me + regsub -all ' $gd "'\\''" gd puts -nonewline $fd "\"$sh\" --login -c \"" puts -nonewline $fd "GIT_DIR='$gd'" puts -nonewline $fd " '$me'" |