Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add tests for sendemail.cc configuration variable
[gitweb.git]
/
git-clone.sh
diff --git
a/git-clone.sh
b/git-clone.sh
index 2636159aaa7a6278d9b8fc64b853b319ac8da123..9e433c08086f3a80c91cc9dae1e48c88723b82f8 100755
(executable)
--- a/
git-clone.sh
+++ b/
git-clone.sh
@@
-219,6
+219,7
@@
fi
if test -n "$2"
then
dir="$2"
+ test $# == 2 || die "excess parameter to git-clone"
else
# Derive one from the repository name
# Try using "humanish" part of source repo if user didn't specify one