summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Kestenholz <mk@spinlock.ch>2008-08-28 08:57:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-08-29 03:39:43 (GMT)
commit1b0f7978ddb9e2ed4437ce68a4b82ab831288a41 (patch)
treef2f554dd588cf8730789a0801715a2b85b8ee5a9
parenta1184d85e8752658f02746982822f43f32316803 (diff)
downloadgit-1b0f7978ddb9e2ed4437ce68a4b82ab831288a41.zip
git-1b0f7978ddb9e2ed4437ce68a4b82ab831288a41.tar.gz
git-1b0f7978ddb9e2ed4437ce68a4b82ab831288a41.tar.bz2
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>
-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 89858c2..4f64f8a 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