clone: detect extra arguments
authorJonathan Nieder <jrnieder@gmail.com>
Thu, 29 Oct 2009 08:10:30 +0000 (03:10 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Oct 2009 22:18:11 +0000 (15:18 -0700)
If git clone is given more than two non-option arguments, it
silently throws away all but the first one. Complain instead.

Discovered by comparing the new builtin clone to the old
git-clone.sh.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found