Skip to content

Commit c893985

Browse files
pcloudsgitster
authored andcommitted
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>
1 parent b00116b commit c893985

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

contrib/completion/git-completion.bash

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,13 +1616,7 @@ _git_ls_files ()
16161616
{
16171617
case "$cur" in
16181618
--*)
1619-
__gitcomp "--cached --deleted --modified --others --ignored
1620-
--stage --directory --no-empty-directory --unmerged
1621-
--killed --exclude= --exclude-from=
1622-
--exclude-per-directory= --exclude-standard
1623-
--error-unmatch --with-tree= --full-name
1624-
--abbrev --ignored --exclude-per-directory
1625-
"
1619+
__gitcomp_builtin ls-files "--no-empty-directory"
16261620
return
16271621
;;
16281622
esac

0 commit comments

Comments
 (0)