]> git.ipfire.org Git - thirdparty/git.git/commit
completion: drop the hard coded list of config vars
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 26 May 2018 13:55:28 +0000 (15:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 May 2018 05:51:28 +0000 (14:51 +0900)
commite17ca926371dc96967f556f41c18410eea8c7d32
treef02e9bc9f6c9b7e6fe8f55a702e802e469abfaba
parent431bb23a271ef45e22ad4a2def2e0ba0a1954e98
completion: drop the hard coded list of config vars

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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/help.c
contrib/completion/git-completion.bash
help.c
help.h