mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 01:44:36 -04:00
Allow atomic push to non default remote (#61925)
This commit is contained in:
parent
eb91e35b1c
commit
65ffd0ba18
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ do
|
||||||
|
|
||||||
# Pull and rebase all branches to ensure we've incorporated any new upstream commits
|
# Pull and rebase all branches to ensure we've incorporated any new upstream commits
|
||||||
git checkout --quiet ${BRANCH}
|
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)
|
PENDING_COMMITS=$(git log ${REMOTE}/${BRANCH}..HEAD --oneline | grep "^.*$" -c || true)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue