зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
2e0cda658e
Коммит
a197b1e89a
|
@ -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"]
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче