remote: check for superfluous arguments in 'git remote add'
commit2d2e3d25595c1bcd2259db5eb7604f196d35949f
authorThomas Rast <trast@inf.ethz.ch>
Wed, 24 Apr 2013 13:54:36 +0000 (24 15:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Apr 2013 20:12:51 +0000 (24 13:12 -0700)
treed83ee4190ee3ca2dd07a7d1d06efabd34147673e
parentabf5f8723cc65c499eb6b65b07bd935f43525b24
remote: check for superfluous arguments in 'git remote add'

The 'git remote add' subcommand did not check for superfluous command
line arguments.  Make it so.

Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/remote.c
t/t5505-remote.sh