Skip to content

Commit

Permalink
tests/remote-containers.sh: clearer fast-forward warning
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup authored and pkubatrh committed Mar 26, 2019
1 parent 625483f commit 985b2b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/remote-containers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ analyse_commits ()
# TODO: If we wanted to test "after PR merge", this needs to take some
# argument specifying how long we should look in the commit history.
git merge-base --is-ancestor "$MERGE_INTO" HEAD \
|| die "Can not be --ff merged into $MERGE_INTO"
|| die "Please rebase the commit '$(git rev-parse --short HEAD)'" \
"to allow --ff merge into '$MERGE_INTO' branch"

while read line; do
case $line in
Expand Down

0 comments on commit 985b2b0

Please sign in to comment.