Skip to content

Commit

Permalink
switch to --3way since that produces a merge conflict to help understand
Browse files Browse the repository at this point in the history
the conflict
  • Loading branch information
terrykong committed Nov 1, 2023
1 parent deab0c4 commit 8f380cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rosetta/create-distribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,14 @@ am+record() {
exit 1
fi
# Apply the patch
git am <$patch_path || ret_code=$?
git am --3way <$patch_path || ret_code=$?
if [[ ${ret_code:-0} -ne 0 ]]; then
cat <<EOF
[ERROR]: Tried patching commits from $patch_path, but failed:
==== git status ====
$(git status)
==== git am --show-current-patch=diff ====
$(git am --show-current-patch=diff)
==== git diff ====
$(git diff)
==================
EOF
exit 1
Expand Down

0 comments on commit 8f380cd

Please sign in to comment.