From: Nguyễn Thái Ngọc Duy Date: Wed, 31 Jan 2018 11:05:29 GMT Subject: [PATCH v2 23/41] completion: use __gitcomp_builtin in _git_ls_files Message-ID: <20180131110547.20577-24-pclouds@gmail.com> In-Reply-To: <20180131110547.20577-1-pclouds@gmail.com> The new completable options are: --debug --empty-directory --eol --recurse-submodules --resolve-undo Signed-off-by: Nguyễn Thái Ngọc Duy --- contrib/completion/git-completion.bash | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 3e0973a562..e65e71760f 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1602,13 +1602,7 @@ _git_ls_files () { case "$cur" in --*) - __gitcomp "--cached --deleted --modified --others --ignored - --stage --directory --no-empty-directory --unmerged - --killed --exclude= --exclude-from= - --exclude-per-directory= --exclude-standard - --error-unmatch --with-tree= --full-name - --abbrev --ignored --exclude-per-directory - " + __gitcomp_builtin ls-files "--no-empty-directory" return ;; esac -- 2.16.1.205.g271f633410