Commit 363d7be5 authored by Ram-Z's avatar Ram-Z

Put the other warnings back in

The order of the diffs is important
parent 91b45a74
......@@ -144,12 +144,22 @@ check_buildsystem_status() {
REMOTE=$(git rev-parse @{u})
BASE=$(git merge-base @ @{u})
if [ $LOCAL = $BASE ]; then
if [ $LOCAL = $REMOTE ]; then
return 0 ;
elif [ $LOCAL = $BASE ]; then
error "New updates for the buildsystem are available!"
if yesno "Would you like to pull new changes?"; then
git pull
return $?
fi
elif [ $REMOTE = $BASE ]; then
error "You did some changes of the buildsystem"
error "create a patch and share them on the ml"
error "prior to pushing them on master"
sleep 2
else
error "The buildsystem diverged from upstream"
sleep 2
fi
return 0 ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment