Code

pull: do not display fetch usage on --help-all
authorMichael J Gruber <git@drmicha.warpmail.net>
Mon, 14 Feb 2011 16:48:08 +0000 (17:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Feb 2011 18:53:24 +0000 (10:53 -0800)
commit24231e063f0f003f8ffd7b64c7ba6a0baaaa5283
tree2b2ffbb4c1bb5a3793bee77d673b7abd85366b3d
parentcfb5e6b2da96c7803aa4a3813d27d2cbb47cda9e
pull: do not display fetch usage on --help-all

Currently, "git pull --help-all" displays the fetch usage info.

Make it equivalent to "git pull -h" instead since "--help-all" is
documented in gitcli(7).

Do not try to sanitize the pull option parser (aka last hair puller).

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-pull.sh