Increase fetch depth for submodules (#33378)

4000
pull/33379/head
Maxime Desroches 8 months ago committed by GitHub
parent 8b074d3ed6
commit 431fd666fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      release/check-submodules.sh

@ -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"

Loading…
Cancel
Save