bootstrap: use "git -h" instead of "git --help"
authorAndreas Gruenbacher <agruen@suse.de>
Mon, 19 Apr 2010 22:30:51 +0000 (00:30 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 20 Apr 2010 05:30:54 +0000 (07:30 +0200)
commitcea53ef6ee1a91cb4a56fae2652b43c830bd2f08
treec0f9959fe7b79cd8dffa510b31c13ba1c5df7375
parent2f31750d4a1c829278bfc49e619d67f02a376491
bootstrap: use "git -h" instead of "git --help"

Use "git -h" for testing for supported options instead of "git --help".
The short-form option only shows a summary, and doesn't layout the full
man page, which is much faster and saves a dependency.

(We found out that git uses man in a build environment of
 http://hydra.nixos.org/, which by default doesn't have man installed.)

Grep for the full option name in the summary, too.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
ChangeLog
build-aux/bootstrap