Am 16.07.25 um 03:39 schrieb Lidong Yan: > Junio C Hamano <gitster@xxxxxxxxx> writes: >> Lidong Yan <yldhome2d2@xxxxxxxxx> writes: >>> Bryan Lee <hi@xxxxxxxxxx> wrote: >>>> 2. Or at least document common misconceptions like `pull.autostash` in >>>> the git-config man page? >> There always are end-user or third-party defined keys that are not >> known to us, and we cannot tell if an unknown variable is such a >> end-user defined one or a typo of a known one. > > For every git_xxx_config(), we could add a register function like > git_xxx_config_register(), which looks like: Instead of this complexity, it is most likely a lot easier to fix the origin of the misconception that `pull.autostash` is the correct configuration. After all, it isn't even mentioned in the git-config nor the git-pull man page. -- Hannes