Merge branch 'sg/help-autocorrect-config-fix'
commit4a9b839dd1166b3f205ff77e9f3ebdedb045ccba
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Dec 2022 02:42:04 +0000 (26 11:42 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Dec 2022 02:42:04 +0000 (26 11:42 +0900)
treee90793828e50c98d238efe3c61da01e595674532
parent7c2ef319c52c4997256f5807564523dfd4acdfc7
parent0918d0888767d42a7232b110f5ec510945256b7e
Merge branch 'sg/help-autocorrect-config-fix'

The code to auto-correct a misspelt subcommand unnecessarily called
into git_default_config() from the early config codepath, which was
a no-no.  This has bee corrected.

* sg/help-autocorrect-config-fix:
  help.c: fix autocorrect in work tree for bare repository
t/t9003-help-autocorrect.sh