From: Sven Strickroth Date: Sat, 10 Dec 2022 13:06:37 +0000 (+0100) Subject: submodule: accept -v for the update command X-Git-Tag: v2.40.0-rc0~121^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f65f847664445b347810bece6eee84c2f39f4ef;p=thirdparty%2Fgit.git submodule: accept -v for the update command Since a56771a6 (builtin/pull: respect verbosity settings in submodules, 2018-01-25), "git pull -v --recurse-submodules" propagates the "-v" to the submodule command, but because the latter command does not understand the option, it barfs. Teach "git submodule update" to accept the option to fix it. Signed-off-by: Sven Strickroth Signed-off-by: Junio C Hamano --- diff --git a/git-submodule.sh b/git-submodule.sh index 5e5d21c010..6e372e762b 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 ;;