Restore use of 'help.format' configuration property in 'git help'
authorPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 22 Jun 2012 12:48:46 +0000 (13:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Jun 2012 18:06:08 +0000 (11:06 -0700)
commitd0408c0c8cd636233f01c0bda9ad71161609297c
tree9b72501172060c48dd9fa2618bc66286b713fa5f
parent1cc8af044cad37b5f7df85b177f6aa979aa3215a
Restore use of 'help.format' configuration property in 'git help'

Commit 1cc8af0 "help: use HTML as the default help format on Windows"
lost the ability to make use of the help.format config value by forcing
the use of a compiled in default if no command-line argument was provided.
This commit restores the use of the help.format value if one is
available, overriding the compiled default.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/help.c