• C
    git-help: add "help.format" config variable. · 70087cdb
    Christian Couder 提交于
    This config variable makes it possible to choose the default format
    used to display help. This format will be used only if no option
    like -a|--all|-i|--info|-m|--man|-w|--web is passed to "git-help".
    
    The following values are possible for this variable:
    
    	- "man"  --> "man" program is used
    	- "info" --> "info" program is used
    	- "web"  --> "git-browse-help" is used
    
    By default we still show help using "man".
    
    This patch also adds -m|--man command line option to use "man"
    to allow overriding the "help.format" configuration variable.
    
    Note that this patch also revert some recent changes in
    "git-browse-help" because they prevented to look for config
    variables in the global configuration file.
    Signed-off-by: NChristian Couder <chriscool@tuxfamily.org>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    70087cdb
git-help.txt 3.3 KB