2018-08-01 14:31:44 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-08-09 14:16:37 -04:00
|
|
|
git submodule foreach -q --recursive '
|
|
|
|
echo "Updating $name";
|
|
|
|
BRANCH=$(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)
|
|
|
|
if [ -z ${BRANCH} ]; then
|
|
|
|
BRANCH="master"
|
|
|
|
fi
|
|
|
|
git checkout ${BRANCH};
|
|
|
|
echo "git pull origin ${BRANCH}"
|
|
|
|
git pull origin ${BRANCH}'
|