Skip to content

Commit ae2f343

Browse files
committed
Fix edge case in Merges cleanly
1 parent fe0623b commit ae2f343

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

buildkite/scripts/merges-cleanly.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ fi
2121
# Fetch a fresh copy of the target branch
2222
source buildkite/scripts/refresh_code.sh
2323

24+
git fetch origin "${BRANCH}"
25+
2426
# Check mergeability. We use flags so that
2527
# * `--no-commit` stops us from updating the index with a merge commit,
2628
# * `--no-ff` stops us from updating the index to the HEAD, if the merge is a

0 commit comments

Comments
 (0)