Code

clone: detect and fail on excess parameters
authorJunio C Hamano <gitster@pobox.com>
Wed, 23 Apr 2008 17:53:47 +0000 (10:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Apr 2008 04:47:39 +0000 (21:47 -0700)
commita2b26acd7afb4d77d8844ccd681e993f25e75205
treec224e3cfdbd8bab90ff9216e22b9104e413e83e6
parent5736a3747120d6215de4fdfcf45f4a168a8d024e
clone: detect and fail on excess parameters

"git clone [options] $src $dst excess-garbage" simply ignored
excess-garbage without giving any diagnostic message.  Fix it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-clone.sh
t/t5601-clone.sh [new file with mode: 0755]