request-pull: improve error message for invalid revision args
commitace33bf991f8f6643e58a3642962ed244ba36b5b
authorDirk Wallenstein <halsmit@t-online.de>
Wed, 17 Jul 2013 17:28:11 +0000 (17 19:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Jul 2013 19:30:58 +0000 (17 12:30 -0700)
tree869e255f8fd229ab6d645ea999e335d1ac0ae040
parent239222f587ed06f96d90dd71c66d80a2b1e3dc9f
request-pull: improve error message for invalid revision args

Currently, when an invalid revision is specified, the error message is:

    fatal: Needed a single revision

This is misleading because, you might think there is something wrong
with the command line as a whole.

Now the user gets a more meaningful error message, showing the invalid
revision.

Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-request-pull.sh