Re: [PATCH 7/9] completion: drop the hard coded list of config vars
Show 12 quoted lines
> The new help option --config-for-completion is a machine friendlier
> version of --config where all the placeholders and wildcards are
> dropped, leaving only the good, completable prefixes for
> git-completion.bash to consume.
>
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
> builtin/help.c | 13 +-
> contrib/completion/git-completion.bash | 334 +------------------------
> help.c | 30 ++-
> help.h | 2 +-
> 4 files changed, 47 insertions(+), 332 deletions(-)
Oh, this diffstat is fantastic! :)
I'm glad to see that enormous hardcoded list go.