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

[RFC/PATCH 4/4] submodules: add bash completion for remotes.

From
Patrick Steinhardt <ps@pks.im>
Date
Apr 8, 2015, 10:58 UTC
Message-ID
<1428490705-11586-5-git-send-email-ps@pks.im>
In-Reply-To
<1428490705-11586-1-git-send-email-ps@pks.im>
---
 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index fbe5972..9d52bf0 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2411,7 +2411,7 @@ _git_submodule ()
 {
 	__git_has_doubledash && return
 
-	local subcommands="add status init deinit update summary foreach sync"
+	local subcommands="add status init deinit update summary foreach sync remote"
 	if [ -z "$(__git_find_on_cmdline "$subcommands")" ]; then
 		case "$cur" in
 		--*)
-- 
2.3.5
Previous: Patrick Steinhardt
Message 7 of 7 in “submodule remotes”
  1. 0/4 submodule remotesPatrick Steinhardt, Apr 8, 2015
  2. 1/4 submodules: implement synchronizing of remotes.Patrick Steinhardt, Apr 8, 2015
  3. Junio C HamanoApr 8, 2015
  4. Patrick SteinhardtApr 9, 2015
  5. 2/4 submodules: implement remote commands.Patrick Steinhardt, Apr 8, 2015
  6. 3/4 submodules: update docs to reflect remotes.Patrick Steinhardt, Apr 8, 2015
  7. 4/4 submodules: add bash completion for remotes.Patrick Steinhardt, Apr 8, 2015

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.