]> git.ipfire.org Git - thirdparty/git.git/commit
parse-options: option to let --git-completion-helper show negative form
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 27 May 2018 08:38:26 +0000 (10:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 May 2018 04:28:44 +0000 (13:28 +0900)
commit2b1c01d22ef280ef3a6efd70db2b9aa58359ee36
tree4bb3faabcbcbb280d9c3417fccce1c0b87625593
parente144d126d74f5d2702870ca9423743102eec6fcd
parse-options: option to let --git-completion-helper show negative form

When 7fb6aefd2a (Merge branch 'nd/parseopt-completion' - 2018-03-14)
is merged, the completion for negative form is left out because the
series is alread long and it could be done in a follow up series. This
is it.

--git-completion-helper now provides --no-xxx so that git-completion.bash
can drop the extra custom --no-xxx in the script. It adds a lot more
--no-xxx than what's current provided by the git-completion.bash
script. We'll trim that down later.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
parse-options.c
t/t9902-completion.sh