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 /git-gui | |
parent | dbccbbda4f4c049552495a87b1747b1b2a1e2823 (diff) | |
download | git-306500fc09e7d8be042e8b9abbd9011b80b3300d.tar.gz |
git-gui: Handle ' within paths when creating Windows shortcuts.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui')
-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'" |