Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
completion: use __gitcomp_builtin in _git_ls_files
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Fri, 9 Feb 2018 11:02:02 +0000
(18:02 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 9 Feb 2018 18:24:51 +0000
(10:24 -0800)
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>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b00116b
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 36ed502ed00e21753ba9b6ab831050903b27eaea..1ea06b6e170ad740bf2d82a6b269bb77070c62fb 100644
(file)
--- 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