]> git.ipfire.org Git - thirdparty/git.git/commit - t/t3200-branch.sh
t3200: do not open a HTML manual page when DEFAULT_MAN_FORMAT is html
authorJohannes Sixt <j6t@kdbg.org>
Sat, 26 Oct 2013 18:48:46 +0000 (20:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Oct 2013 19:19:57 +0000 (12:19 -0700)
commit01e8d327a9d647c1e891920365c5f6b4f595d5e9
tree9e5257abbfb41b56bce1f2add3d875f1eea66609
parentca462804c68b5ac0936242d4938fc9273b00180d
t3200: do not open a HTML manual page when DEFAULT_MAN_FORMAT is html

We have the build configuration option DEFAULT_MAN_FORMAT to choose a
format different from man pages to be used by 'git help' when no format
is requested explicitly. Since 65db0443 (Set the default help format to
html for msys builds, 2013-06-04) we use html on Windows by default.

There is one test in t3200-branch.sh that invokes a help page. The
intent of the redirections applied to the command invocation is to avoid
that the man page viewer interferes with the automated test. But when
the default format is not "man", this does not have the intended effect,
and the HTML manual page is opened during the test run. Request "man"
format explicitly to keep the test silent.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh