mirror of https://github.com/commaai/openpilot.git
Update check-submodules.sh
This commit is contained in:
parent
c995acda7c
commit
28a9f41d56
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue