aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMatthias Kestenholz <mk@spinlock.ch>2008-08-28 10:57:55 +0200
committerJunio C Hamano <gitster@pobox.com>2008-08-28 20:39:43 -0700
commit1b0f7978ddb9e2ed4437ce68a4b82ab831288a41 (patch)
treef2f554dd588cf8730789a0801715a2b85b8ee5a9 /contrib
parenta1184d85e8752658f02746982822f43f32316803 (diff)
downloadgit-1b0f7978ddb9e2ed4437ce68a4b82ab831288a41.tar.gz
git-1b0f7978ddb9e2ed4437ce68a4b82ab831288a41.tar.xz
bash-completion: Add all submodule subcommands to the completion list
Signed-off-by: Matthias Kestenholz <mk@spinlock.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
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