Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Voigt <hvoigt@hvoigt.net>2010-02-27 23:45:51 +0300
committerPat Thoyts <patthoyts@users.sourceforge.net>2010-07-30 12:57:26 +0400
commita197b1e89a1c779e69c5ce8746f13b48158030ac (patch)
tree5466e0297e4685bc224bdf8b4486e8aa3b9bb749
parent2e0cda658e08482b804718bfa0f3e64e7af17ea7 (diff)
git-gui: fix usage of _gitworktree when creating shortcut for windows
This fixes msysGit issue 425. Signed-off-by: Heiko Voigt <heiko.voigt@mahr.de> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
-rw-r--r--lib/shortcut.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl
index 79c1888e11..78878ef89d 100644
--- a/lib/shortcut.tcl
+++ b/lib/shortcut.tcl
@@ -16,7 +16,7 @@ proc do_windows_shortcut {} {
[info nameofexecutable] \
[file normalize $::argv0] \
] \
- [file normalize [$_gitworktree]]
+ [file normalize $_gitworktree]
} err]} {
error_popup [strcat [mc "Cannot write shortcut:"] "\n\n$err"]
}
@@ -57,7 +57,7 @@ proc do_cygwin_shortcut {} {
$sh -c \
"CHERE_INVOKING=1 source /etc/profile;[sq $me] &" \
] \
- [file normalize [$_gitworktree]]
+ [file normalize $_gitworktree]
} err]} {
error_popup [strcat [mc "Cannot write shortcut:"] "\n\n$err"]
}