Increase fetch depth for submodules (#33378)

4000
old-commit-hash: 431fd666fe
pull/33386/head
Maxime Desroches 8 months ago committed by GitHub
parent fc08a6ebef
commit f15d85beb1
  1. 2
      release/check-submodules.sh

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

Loading…
Cancel
Save