2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00

@B fix update_sub: stop after merge if branch does not exist in submodule

This commit is contained in:
bebbo
2017-05-28 16:22:50 +02:00
parent 20529ff850
commit 7a92212f08

View File

@ -90,7 +90,7 @@ else
# branch is now up to date
if [ "$4" != "" ]; then
# merge specified branch into "master / what's defined in .gitmodules"
git merge "$4"
git merge "$4" || exit 0
git push
# add the changes to the master module
pushd "$2"
@ -98,4 +98,3 @@ else
popd
fi
fi