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 <redacted>
---
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.