completion: use __gitcomp_builtin in _git_commit

The new comletable options are: --branch --gpg-sign --long --no-post-rewrite --null --porcelain --status --allow-empty is no longer completable because it's a hidden option since 4741edd549 (Remove deprecated OPTION_BOOLEAN for parsing arguments - 2013-08-03) Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Feb 9, 2018 at 18:01 UTC 2e29dca66ac44adc4518d070d18b269bb53826c2
1 file changed +1 -10
contrib/completion/git-completion.bash
+1 -10
@@ -1353,16 +1353,7 @@ _git_commit ()
1353 return
1354 ;;
1355 --*)
1356 - __gitcomp "
1357 - --all --author= --signoff --verify --no-verify
1358 - --edit --no-edit
1359 - --amend --include --only --interactive
1360 - --dry-run --reuse-message= --reedit-message=
1361 - --reset-author --file= --message= --template=
1362 - --cleanup= --untracked-files --untracked-files=
1363 - --verbose --quiet --fixup= --squash=
1364 - --patch --short --date --allow-empty
1365 - "
1356 + __gitcomp_builtin commit "--no-edit --verify"
1357 return
1358 esac
1359