diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-09-07 23:52:16 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-07 23:52:16 -0700 |
commit | 277cd4c4bd8cca31395846fc80ea28bf2cd4ddf2 (patch) | |
tree | 613693df1a0eaba807948a3910dab046fecd77a6 /git.c | |
parent | cd50988ae03e086ca1a8f18584153d359699ea25 (diff) | |
parent | f0e90716d47b429284702b75425a247c9fc41adb (diff) | |
download | git-277cd4c4bd8cca31395846fc80ea28bf2cd4ddf2.tar.gz git-277cd4c4bd8cca31395846fc80ea28bf2cd4ddf2.tar.xz |
Merge branch 'ar/autospell'
* ar/autospell:
Add help.autocorrect to enable/disable autocorrecting
git wrapper: DWIM mistyped commands
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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", |