tools: do not mask errors on multiple commit retrieval
In commit-queue.sh, the assignment to commits
will succeed and the
script will continue if one of the two git
commands fails, even with
-e
set. Split it into three separate assignments so that failures in
the git
commands will be clearly logged and cause the script to exit
with a failure status code.