Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
ci: resolve resulting code base by merging
Browse files Browse the repository at this point in the history
If we do rebase, it is required that every commit cannot conflict but a
merge only requires that the final code do not conflict.

Fixes: #2673
Signed-off-by: Peng Tao <bergwolf@hyper.sh>
  • Loading branch information
bergwolf committed Jun 24, 2020
1 parent 1ed7380 commit e8e5ee2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .ci/resolve-kata-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ apply_depends_on() {
dependency_branch="p${pr_id}"
git fetch origin "pull/${pr_id}/head:${dependency_branch}" && \
git checkout "${dependency_branch}" && \
git rebase "origin/${branch}"
# And show what we rebased on top of to aid debugging
git merge "origin/${branch}"
# And show what we merged on top of to aid debugging
git log --oneline "origin/${branch}~1..HEAD"
popd
done
Expand Down Expand Up @@ -98,8 +98,8 @@ clone_repos() {
echo "Checking out to ${pr_branch} branch"
git checkout "${pr_branch}"
echo "... and rebasing with origin/${branch}"
git rebase "origin/${branch}"
# And show what we rebased on top of to aid debugging
git merge "origin/${branch}"
# And show what we merged on top of to aid debugging
git log --oneline "origin/${branch}~1..HEAD"
else
echo "Checking out to ${branch}"
Expand Down

0 comments on commit e8e5ee2

Please # to comment.