completion: don't set PARSE_OPT_NOCOMPLETE on --rerere-autoupdate
commitb475e442e8ec64e77acd7cb8c9c9bb321a76e82d
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 7 Mar 2018 01:05:01 +0000 (7 08:05 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Mar 2018 19:02:48 +0000 (7 11:02 -0800)
tree81cca01f4f6a84a6c57765f905cf5c0f8a991ee3
parentfc3d4e0cbe65639509c765726fe01a16575e9ae8
completion: don't set PARSE_OPT_NOCOMPLETE on --rerere-autoupdate

There is not a strong reason to hide this option, and git-merge already
completes this one. Let's allow to complete this for all commands (and
let git-completion.bash do the suppressing if needed).

This makes --rerere-autoupdate completable for am, cherry-pick and
revert. rebase completion is fixed manually because it's a shell
script and does not benefit from --git-completion-helper.

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.h
rerere.h