Update check-submodules.sh

old-commit-hash: 28a9f41d56ce87a18515af306e9cfeeaf64a0051
This commit is contained in:
Adeeb Shihadeh
2023-02-27 13:49:06 -08:00
committed by GitHub
parent 1a42ef6b37
commit a7fb5afa4e

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"