Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit: allow --amend to reuse message from another commit
[gitweb.git]
/
git-clone.sh
diff --git
a/git-clone.sh
b/git-clone.sh
index 96a356d8b33e8caa1b60e4b37b3e37086db74027..68085a3225cb0047ab3c5764472d3d024e467160 100755
(executable)
--- a/
git-clone.sh
+++ b/
git-clone.sh
@@
-205,7
+205,10
@@
fi
# it is local
if base=$(get_repo_base "$repo"); then
repo="$base"
- local=yes
+ if test -z "$depth"
+ then
+ local=yes
+ fi
fi
dir="$2"