pull: use git-rev-parse --parseopt for option parsing
commite3b601da2af53cbb9a63e59113d524a8d946ea12
authorPaul Tan <pyokagan@gmail.com>
Tue, 2 Jun 2015 14:22:53 +0000 (2 22:22 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Jun 2015 20:36:23 +0000 (2 13:36 -0700)
treef7de00215810fab9e8fd776a73a624986d2c1a12
parenteb2a8d9ed3fca2ba2f617b704992d483605f3bb6
pull: use git-rev-parse --parseopt for option parsing

To enable unambiguous parsing of abbreviated options, bundled short
options, separate form options and to provide consistent usage help, use
git-rev-parse --parseopt for option parsing. With this, simplify the
option parsing code.

Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-pull.sh