Increase fetch depth for submodules (#33378)
4000 old-commit-hash: 431fd666fe58a1400dc1d23d14a77c26a4de0744
This commit is contained in:
parent
fc08a6ebef
commit
f15d85beb1
|
@ -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…
Reference in New Issue