зеркало из https://github.com/microsoft/git.git
Fix git-clone buglet for remote case.
c2f599e09f
introduced a buglet while
cloning from a remote URL; we forgot to squelch the unnecessary
error message when we try to cd to the given "remote" name,
in order to see if it is a local directory.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Родитель
4a1bb4c3f8
Коммит
223fa32784
|
@ -22,10 +22,10 @@ get_repo_base() {
|
|||
cd "`/bin/pwd`" &&
|
||||
cd "$1" &&
|
||||
{
|
||||
cd .git 2>/dev/null
|
||||
cd .git
|
||||
pwd
|
||||
}
|
||||
)
|
||||
) 2>/dev/null
|
||||
}
|
||||
|
||||
if [ -n "$GIT_SSL_NO_VERIFY" ]; then
|
||||
|
|
Загрузка…
Ссылка в новой задаче