more fetch depth

old-commit-hash: ab96d12f2e
testing-closet^2
Adeeb Shihadeh 10 months ago
parent 7440f3c959
commit 195b76c03f
  1. 2
      release/check-submodules.sh

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
while read hash submodule ref; do while read hash submodule ref; do
git -C $submodule fetch --depth 2000 origin master git -C $submodule fetch --depth 3000 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