diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-02-09 18:02:02 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-09 10:24:51 -0800 |
commit | c893985d46472ae6bedaaa4bed533e1e5d3f5c24 (patch) | |
tree | a5ae11df43da5f91da6f0338cd513b5166904f0d | |
parent | completion: use __gitcomp_builtin in _git_init (diff) | |
download | tgif-c893985d46472ae6bedaaa4bed533e1e5d3f5c24.tar.xz |
completion: use __gitcomp_builtin in _git_ls_files
The new completable options are:
--debug
--empty-directory
--eol
--recurse-submodules
--resolve-undo
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | contrib/completion/git-completion.bash | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 36ed502ed0..1ea06b6e17 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1616,13 +1616,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 |