From: Matthias Kestenholz Date: Thu, 28 Aug 2008 08:57:55 +0000 (+0200) Subject: bash-completion: Add all submodule subcommands to the completion list X-Git-Tag: v1.6.1-rc1~293 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b0f7978ddb9e2ed4437ce68a4b82ab831288a41;p=git.git bash-completion: Add all submodule subcommands to the completion list Signed-off-by: Matthias Kestenholz Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 89858c237..4f64f8ab7 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1483,7 +1483,7 @@ _git_submodule () { __git_has_doubledash && return - local subcommands="add status init update" + local subcommands="add status init update summary foreach sync" if [ -z "$(__git_find_subcommand "$subcommands")" ]; then local cur="${COMP_WORDS[COMP_CWORD]}" case "$cur" in