diff options
| author | Théo Zimmermann | 2020-02-21 12:56:34 +0100 |
|---|---|---|
| committer | Théo Zimmermann | 2020-02-21 12:56:34 +0100 |
| commit | 1d3d4e86e80e9fd774c92addacbe24fb505c95b1 (patch) | |
| tree | 42bd46971d957c647c5446dcb29f0773580d4095 /dev/tools | |
| parent | 4b6e6c6c187441f928921cbdd14093e296682f40 (diff) | |
[merge-script] Improve warning in case of batch merging.
Diffstat (limited to 'dev/tools')
| -rwxr-xr-x | dev/tools/merge-pr.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/tools/merge-pr.sh b/dev/tools/merge-pr.sh index a888998ebf..d8d835d9b8 100755 --- a/dev/tools/merge-pr.sh +++ b/dev/tools/merge-pr.sh @@ -132,7 +132,8 @@ if [ "$LOCAL_BRANCH_COMMIT" != "$UPSTREAM_COMMIT" ]; then if git merge-base --is-ancestor -- "$UPSTREAM_COMMIT" "$LOCAL_BRANCH_COMMIT"; then warning "Your branch is ahead of ${REMOTE}." - warning "You should see this warning only if you've just merged another PR and did not push yet." + warning "On master, GitHub's branch protection rule prevents merging several PRs at once." + warning "You should run [git push ${REMOTE}] between each call to the merge script." ask_confirmation else error "Local branch is not up-to-date with ${REMOTE}." |
