# exit on errors
set -e
+set -o pipefail
# make sure to only use defined variables
set -u
# ERR traps should be inherited from functions too. (And command
punew proposedupdates
opunew oldproposedupdates
-# Now process the NEW staging area
-do_newstage
-
# Finally deal with unchecked
do_unchecked