git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] bash-completion: Add all submodule subcommands to the completion list

From
Matthias Kestenholz <mk@spinlock.ch>
Date
Aug 28, 2008, 08:57 UTC
Message-ID
<1219913875-20749-1-git-send-email-mk@spinlock.ch>
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
Message 1 of 1 in “bash-completion: Add all submodule subcommands to the completion list”
  1. bash-completion: Add all submodule subcommands to the completion listMatthias Kestenholz, Aug 28, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.