Merge branch 'ar/autospell'

* ar/autospell:
  Add help.autocorrect to enable/disable autocorrecting
  git wrapper: DWIM mistyped commands
This commit is contained in:
Junio C Hamano
2008-09-07 23:52:16 -07:00
8 changed files with 159 additions and 4 deletions

4
git.c
View File

@ -499,7 +499,9 @@ int main(int argc, const char **argv)
cmd, argv[0]);
exit(1);
}
help_unknown_cmd(cmd);
argv[0] = help_unknown_cmd(cmd);
handle_internal_command(argc, argv);
execv_dashed_external(argv);
}
fprintf(stderr, "Failed to run command '%s': %s\n",