git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bash-completion: Add all submodule subcommands to the completion list
@ 2008-08-28  8:57 Matthias Kestenholz
  0 siblings, 0 replies; only message in thread
From: Matthias Kestenholz @ 2008-08-28  8:57 UTC (permalink / raw)
  To: spearce; +Cc: gitster, git, Matthias Kestenholz

Signed-off-by: Matthias Kestenholz <mk@spinlock.ch>
---
 contrib/completion/git-completion.bash |    2 +-
 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
-- 
1.6.0.174.gd789c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-28  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-28  8:57 [PATCH] bash-completion: Add all submodule subcommands to the completion list Matthias Kestenholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).