update.sh: Only allow fast-forwards
This commit is contained in:
parent
161f44ce3b
commit
dd992600f3
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ command -v $POEZIO_VENV_COMMAND > /dev/null 2>&1 || {
|
|||
}
|
||||
|
||||
echo 'Updating poezio'
|
||||
git pull origin master || {
|
||||
git pull --ff-only origin master || {
|
||||
echo "The script failed to update poezio."
|
||||
exit 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue