git rev-parse c2^{tree} >tree.expected &&
git merge -s theirs c2 &&
- git rev-parse HEAD >head &&
+ git rev-parse HEAD >head.new &&
git rev-parse HEAD^1 >first-parent &&
git rev-parse HEAD^2 >second-parent &&
git rev-parse HEAD^{tree} >tree &&
git diff --exit-code c2 HEAD &&
git diff --exit-code c2 &&
- ! test_cmp head.old head &&
+ ! test_cmp head.old head.new &&
test_cmp head.old first-parent &&
test_cmp second-parent.expected second-parent &&
test_cmp tree.expected tree &&
git rev-parse c3^{tree} >tree.expected &&
git merge -s theirs c3 &&
- git rev-parse HEAD >head &&
+ git rev-parse HEAD >head.new &&
git rev-parse HEAD^1 >first-parent &&
git rev-parse HEAD^2 >second-parent &&
git rev-parse HEAD^{tree} >tree &&
git diff --exit-code c3 HEAD &&
git diff --exit-code c3 &&
- ! test_cmp head.old head &&
+ ! test_cmp head.old head.new &&
test_cmp head.old first-parent &&
test_cmp second-parent.expected second-parent &&
test_cmp tree.expected tree &&