Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix git-clone buglet for remote case.
author
Junio C Hamano
<junkio@cox.net>
Mon, 14 May 2007 21:24:02 +0000
(14:24 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 14 May 2007 21:24:02 +0000
(14:24 -0700)
c2f599e09fd0496413d1744b5b89b9b5c223555d
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>
git-clone.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
4a1bb4c
)
diff --git
a/git-clone.sh
b/git-clone.sh
index 70374aaaf0f766588739053becc36831381d4f35..fdd354f2da1978241a3e79a47a067496150cc1bc 100755
(executable)
--- a/
git-clone.sh
+++ b/
git-clone.sh
@@
-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