Make push more verbose about illegal combination of options
authorMarek Zawirski <marek.zawirski@gmail.com>
Sat, 16 Aug 2008 17:58:32 +0000 (19:58 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Aug 2008 07:24:21 +0000 (00:24 -0700)
commitb259f09b181c6650253f2ab60f5375d3ff8e3872
treee8331f7c7b1a60fe810358a3a1bb21418822f5fb
parent053fd0c1c3da20474c4ff175c56ea4c1d6eeda11
Make push more verbose about illegal combination of options

It may be unclear that --all, --mirror, --tags and/or explicit refspecs
are illegal combinations for git push.

Git was silently failing in these cases, while we can complaint more
properly about it.

Signed-off-by: Marek Zawirski <marek.zawirski@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-push.c