Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: fix usage of _gitworktree when creating shortcut for windows
author
Heiko Voigt
<hvoigt@hvoigt.net>
Sat, 27 Feb 2010 20:45:51 +0000
(21:45 +0100)
committer
Pat Thoyts
<patthoyts@users.sourceforge.net>
Fri, 30 Jul 2010 08:57:26 +0000
(09:57 +0100)
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>
lib/shortcut.tcl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
2e0cda6
)
diff --git
a/lib/shortcut.tcl
b/lib/shortcut.tcl
index 79c1888e11d210eed962eebdf67793a7367dff5a..78878ef89d11210d614fc8b3d2957705611bdaa3 100644
(file)
--- 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"]
}