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

[PATCH] submodule: Accept -v for update command

From
Sven Strickroth <email@cs-ware.de>
Date
Dec 10, 2022, 13:06 UTC
Message-ID
<f805f2da-a7e1-9fde-cc0a-04a30f79c9af@cs-ware.de>
In-Reply-To
<xmqqiliur6t9.fsf@gitster.g>

"git pull -v --recurse-submodules" propagates the "-v" to the submodule command which did not support "-v" yet.

Commit a56771a668d introduced this regression.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
---
  git-submodule.sh | 3 +++
  1 file changed, 3 insertions(+)
diff --git a/git-submodule.sh b/git-submodule.sh
index 9a50f2e912..7f9582d923 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -244,6 +244,9 @@ cmd_update()
  		-q|--quiet)
  			quiet=1
  			;;
+		-v|--verbose)
+			quiet=0
+			;;
  		--progress)
  			progress=1
  			;;
-- 
2.38.1.windows.1
Previous: Junio C HamanoNext: Junio C Hamano
Message 8 of 9 in “git pull --verbose with submodules ends in error message”
  1. Fink, MikeNov 24, 2022
  2. Sven StrickrothNov 25, 2022
  3. Don't pass -v to submodule commandSven Strickroth, Nov 30, 2022
  4. Ævar Arnfjörð BjarmasonNov 30, 2022
  5. Sven StrickrothDec 1, 2022
  6. Don't pass -v to submodule commandSven Strickroth, Dec 1, 2022
  7. Junio C HamanoDec 2, 2022
  8. submodule: Accept -v for update commandSven Strickroth, Dec 10, 2022
  9. Junio C HamanoDec 18, 2022

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.