Skip to content

Commit

Permalink
Merge branch 'vr/help-per-platform'
Browse files Browse the repository at this point in the history
* vr/help-per-platform:
  Restore use of 'help.format' configuration property in 'git help'
  • Loading branch information
gitster committed Jun 22, 2012
2 parents 0e18bef + d0408c0 commit fd37807
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions builtin/help.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,10 +449,10 @@ int cmd_help(int argc, const char **argv, const char *prefix)
setup_git_directory_gently(&nongit);
git_config(git_help_config, NULL);

if (parsed_help_format == HELP_FORMAT_NONE)
help_format = parse_help_format(DEFAULT_HELP_FORMAT);
else
if (parsed_help_format != HELP_FORMAT_NONE)
help_format = parsed_help_format;
if (help_format == HELP_FORMAT_NONE)
help_format = parse_help_format(DEFAULT_HELP_FORMAT);

alias = alias_lookup(argv[0]);
if (alias && !is_git_command(argv[0])) {
Expand Down

0 comments on commit fd37807

Please sign in to comment.