completion: use __gitcomp_builtin in _git_am
commitbe3ce6b2505467d445c671feeb76e7ad1c40aee7
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 9 Feb 2018 11:01:45 +0000 (9 18:01 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Feb 2018 18:24:50 +0000 (9 10:24 -0800)
treef4017f5509cfd32fb09b4037b9988a231fe3f832
parente1bea2c0d667d13b92919490757af388f2b441e4
completion: use __gitcomp_builtin in _git_am

The new completable options are:

--directory
--exclude
--gpg-sign
--include
--keep-cr
--keep-non-patch
--message-id
--no-keep-cr
--patch-format
--quiet
--reject
--resolvemsg=

In-progress options like --continue will be part of --git-completion-helper
then filtered out by _git_am() unless the operation is in progress. This
helps keep marking of these operations in just one place.

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