From: Heiko Voigt Date: Sat, 27 Feb 2010 20:45:51 +0000 (+0100) Subject: git-gui: fix usage of _gitworktree when creating shortcut for windows X-Git-Tag: v1.7.2.2~29^2^2~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a197b1e89a1c779e69c5ce8746f13b48158030ac;p=git.git git-gui: fix usage of _gitworktree when creating shortcut for windows This fixes msysGit issue 425. Signed-off-by: Heiko Voigt Signed-off-by: Johannes Schindelin Signed-off-by: Pat Thoyts --- diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl index 79c1888e1..78878ef89 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"] }