author | Jonathan Nieder <jrnieder@gmail.com> | |
Thu, 29 Oct 2009 08:10:30 +0000 (03:10 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 30 Oct 2009 22:18:11 +0000 (15:18 -0700) | ||
commit | d52dc4b10b2f78dc24ea05e88ddc25ee0f46491e | |
tree | 7e2957739b1ea3df787185f13fcbd3ebf15054c2 | tree | snapshot |
parent | ebc9d420566de32dbadada5a4f700db2d974853c | commit | diff |
clone: detect extra arguments
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>
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>
builtin-clone.c | diff | blob | history |