submodule update: silence underlying fetch with "--quiet"
authorNicholas Clark <nick@ccl4.org>
Fri, 30 Apr 2021 09:59:06 +0000 (09:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 May 2021 03:24:38 +0000 (12:24 +0900)
commit62af4bdd423f5f3988dad97abcdd7adfba0756c4
tree24afc8217158fa081400145d589d878be309c288
parent48bf2fa8bad054d66bd79c6ba903c89c704201f7
submodule update: silence underlying fetch with "--quiet"

Commands such as

    $ git submodule update --quiet --init --depth=1

involving shallow clones, call the shell function fetch_in_submodule, which
in turn invokes git fetch.  Pass the --quiet option onward there.

Signed-off-by: Nicholas Clark <nick@ccl4.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
t/t7406-submodule-update.sh