mirror of
https://github.com/git/git.git
synced 2024-11-01 14:57:52 +01:00
Merge branch 'sg/complete-untracked-filter'
* sg/complete-untracked-filter: completion: improve untracked directory filtering for filename completion
This commit is contained in:
commit
b7f571618c
1 changed files with 2 additions and 2 deletions
|
@ -901,7 +901,7 @@ _git_add ()
|
|||
esac
|
||||
|
||||
# XXX should we check for --update and --all options ?
|
||||
__git_complete_index_file "--others --modified"
|
||||
__git_complete_index_file "--others --modified --directory --no-empty-directory"
|
||||
}
|
||||
|
||||
_git_archive ()
|
||||
|
@ -1063,7 +1063,7 @@ _git_clean ()
|
|||
esac
|
||||
|
||||
# XXX should we check for -x option ?
|
||||
__git_complete_index_file "--others"
|
||||
__git_complete_index_file "--others --directory"
|
||||
}
|
||||
|
||||
_git_clone ()
|
||||
|
|
Loading…
Reference in a new issue