summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-12-28 04:06:16 +0100
committerJunio C Hamano <gitster@pobox.com>2022-12-28 04:06:17 +0100
commitb3b9e5c1718e59d2a835291bbc9c28b1762c45ce (patch)
tree299d3c13a175b8c9be76a3403ceb31f4c5610253
parentThe second batch (diff)
parentsubmodule: accept -v for the update command (diff)
downloadgit-b3b9e5c1718e59d2a835291bbc9c28b1762c45ce.tar.xz
git-b3b9e5c1718e59d2a835291bbc9c28b1762c45ce.zip
Merge branch 'ss/pull-v-recurse-fix'
"git pull -v --recurse-submodules" attempted to pass "-v" down to underlying "git submodule update", which did not understand the request and barfed, which has been corrected. * ss/pull-v-recurse-fix: submodule: accept -v for the update command
-rwxr-xr-xgit-submodule.sh3
1 files changed, 3 insertions, 0 deletions
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
;;