Allow atomic push to non default remote (#61925)

This commit is contained in:
Martijn Laarman 2020-12-08 15:45:31 +01:00 committed by GitHub
parent eb91e35b1c
commit 65ffd0ba18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ do
# Pull and rebase all branches to ensure we've incorporated any new upstream commits
git checkout --quiet ${BRANCH}
git pull "${REMOTE}" --rebase --quiet
git pull "${REMOTE}" "${BRANCH}" --rebase --quiet
PENDING_COMMITS=$(git log ${REMOTE}/${BRANCH}..HEAD --oneline | grep "^.*$" -c || true)