Increase fetch depth for submodules (#33378)

4000
old-commit-hash: 431fd666fe58a1400dc1d23d14a77c26a4de0744
This commit is contained in:
Maxime Desroches 2024-08-26 10:51:25 -07:00 committed by GitHub
parent fc08a6ebef
commit f15d85beb1
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
while read hash submodule ref; do
git -C $submodule fetch --depth 3000 origin master
git -C $submodule fetch --depth 4000 origin master
git -C $submodule branch -r --contains $hash | grep "origin/master"
if [ "$?" -eq 0 ]; then
echo "$submodule ok"