Re: [PATCH v2 3/8] help: use early config when autocorrecting aliases

2017-06-10 Thread Jeff King
On Thu, Jun 08, 2017 at 09:53:38PM +0200, Johannes Schindelin wrote: > Git has this feature which suggests similar commands (including aliases) > in case the user specified an unknown command. > > This feature currently relies on a side effect of the way we expand > aliases right now: when a comm

[PATCH v2 3/8] help: use early config when autocorrecting aliases

2017-06-08 Thread Johannes Schindelin
Git has this feature which suggests similar commands (including aliases) in case the user specified an unknown command. This feature currently relies on a side effect of the way we expand aliases right now: when a command is not a builtin, we use the regular config machinery (meaning: discovering