bootstrap: use "git -h" instead of "git --help"
authorAndreas Gruenbacher <agruen@suse.de>
Mon, 19 Apr 2010 22:30:51 +0000 (00:30 +0200)
committerIan Beckwith <ianb@erislabs.net>
Sat, 24 Apr 2010 17:56:19 +0000 (18:56 +0100)
commit5428678aeb0b7ead7e7a9d15094eff7af82ee2e7
tree854bfd8cb4bb656235a5185aa46e02cae5ab87ed
parent77cfda7fd833500d2502485ef7cef1304ef3e781
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>
(cherry picked from commit cea53ef6ee1a91cb4a56fae2652b43c830bd2f08)
ChangeLog
build-aux/bootstrap