more fetch depth
This commit is contained in:
parent
a99816a08b
commit
ab96d12f2e
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
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"
|
||||
if [ "$?" -eq 0 ]; then
|
||||
echo "$submodule ok"
|
||||
|
|
Loading…
Reference in New Issue