Update check-submodules.sh

This commit is contained in:
Adeeb Shihadeh 2023-02-27 13:49:06 -08:00 committed by GitHub
parent c995acda7c
commit 28a9f41d56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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