mirror of
https://github.com/bebbo/amigaos-cross-toolchain.git
synced 2025-12-08 22:38:24 +00:00
@B fix update_sub: stop after merge if branch does not exist in submodule
This commit is contained in:
@ -90,7 +90,7 @@ else
|
|||||||
# branch is now up to date
|
# branch is now up to date
|
||||||
if [ "$4" != "" ]; then
|
if [ "$4" != "" ]; then
|
||||||
# merge specified branch into "master / what's defined in .gitmodules"
|
# merge specified branch into "master / what's defined in .gitmodules"
|
||||||
git merge "$4"
|
git merge "$4" || exit 0
|
||||||
git push
|
git push
|
||||||
# add the changes to the master module
|
# add the changes to the master module
|
||||||
pushd "$2"
|
pushd "$2"
|
||||||
@ -98,4 +98,3 @@ else
|
|||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user