Restore use of 'help.format' configuration property in 'git help'
commit586b84b4586cba4931ef88afe4617f753be25e7e
authorPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 21 Jun 2012 11:05:42 +0000 (21 12:05 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 21 Jun 2012 11:38:40 +0000 (21 12:38 +0100)
tree9e3555ae81aa4af17c8c1322ae70d69a28eeb93b
parent47a8d138da2ae19d416d4d3435bf6c69d478d0c0
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>
builtin/help.c