summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2013-09-24 23:27:44 -0700
committerLibravatar Jonathan Nieder <jrnieder@gmail.com>2013-09-24 23:27:44 -0700
commitb7f571618cdec4fee19a06576ea40859b7398c69 (patch)
tree3c261d259527a8f65af859ec982f8d98278a5ee4 /contrib
parentMerge branch 'nd/fetch-pack-error-reporting-fix' (diff)
parentcompletion: improve untracked directory filtering for filename completion (diff)
downloadtgif-b7f571618cdec4fee19a06576ea40859b7398c69.tar.xz
Merge branch 'sg/complete-untracked-filter'
* sg/complete-untracked-filter: completion: improve untracked directory filtering for filename completion
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash4
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 ()