Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Clarify documentation of fast-import's D subcommand
[gitweb.git]
/
git-clone.sh
diff --git
a/git-clone.sh
b/git-clone.sh
index 70374aaaf0f766588739053becc36831381d4f35..d45618d9afe203d103cb6cdcbd66e23b0dc42932 100755
(executable)
--- a/
git-clone.sh
+++ b/
git-clone.sh
@@
-20,12
+20,12
@@
usage() {
get_repo_base() {
(
cd "`/bin/pwd`" &&
- cd "$1" &&
+ cd "$1"
|| cd "$1.git"
&&
{
- cd .git
2>/dev/null
+ cd .git
pwd
}
- )
+ )
2>/dev/null
}
if [ -n "$GIT_SSL_NO_VERIFY" ]; then