Skip to content

Commit 6f65f84

Browse files
cswaregitster
authored andcommitted
submodule: accept -v for the update command
Since a56771a (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8706a59 commit 6f65f84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git-submodule.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,9 @@ cmd_update()
244244
-q|--quiet)
245245
quiet=1
246246
;;
247+
-v|--verbose)
248+
quiet=0
249+
;;
247250
--progress)
248251
progress=1
249252
;;

0 commit comments

Comments
 (0)