diff options
| author | Jonathan Nieder <jrnieder@gmail.com> | 2013-09-24 23:27:44 -0700 |
|---|---|---|
| committer | Jonathan Nieder <jrnieder@gmail.com> | 2013-09-24 23:27:44 -0700 |
| commit | b7f571618cdec4fee19a06576ea40859b7398c69 (patch) | |
| tree | 3c261d259527a8f65af859ec982f8d98278a5ee4 | |
| parent | Merge branch 'nd/fetch-pack-error-reporting-fix' (diff) | |
| parent | completion: improve untracked directory filtering for filename completion (diff) | |
| download | git-b7f571618cdec4fee19a06576ea40859b7398c69.tar.gz git-b7f571618cdec4fee19a06576ea40859b7398c69.zip | |
Merge branch 'sg/complete-untracked-filter'
* sg/complete-untracked-filter:
completion: improve untracked directory filtering for filename completion
| -rw-r--r-- | contrib/completion/git-completion.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index e1b7313072..86f77345fd 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -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 () |
