X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-clone.sh;h=8c7fc7f6317113fcef923dcc625fb94e13fb77a0;hb=6c41e21d48c369f398ee2e24085e618b55ed916d;hp=2636159aaa7a6278d9b8fc64b853b319ac8da123;hpb=d0ab520a2599afdfd4d61894863984fc36842b12;p=git.git diff --git a/git-clone.sh b/git-clone.sh index 2636159aa..8c7fc7f63 100755 --- 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