test_expect_code 1 \
git merge-tree -z A^0 B^0 >out &&
- printf "\\n" >>out &&
+ echo >>out &&
anonymize_hash out >actual &&
q_to_tab <<-\EOF | lf_to_nul >expect &&
HASH
test_expect_code 1 \
git merge-tree -z A^0 B^0 >out &&
- printf "\\n" >>out &&
+ echo >>out &&
anonymize_hash out >actual &&
q_to_tab <<-\EOF | lf_to_nul >expect &&
HASH
test_expect_code 1 \
git merge-tree -z A^0 B^0 >out &&
- printf "\\n" >>out &&
+ echo >>out &&
#
# First, check that the bar that appears at stage 3 does not
test_expect_code 1 \
git merge-tree -z A^0 B^0 >out &&
- printf "\\n" >>out &&
+ echo >>out &&
#
# First, check that the bar that appears at stage 3 does not
test_expect_code 1 \
git merge-tree -z A^0 B^0 >out &&
- printf "\\n" >>out &&
+ echo >>out &&
anonymize_hash out >actual &&
q_to_tab <<-\EOF | lf_to_nul >expect &&
HASH
test_expect_code 1 \
git merge-tree -z B^0 A^0 >out &&
- printf "\\n" >>out &&
+ echo >>out &&
anonymize_hash out >actual &&
q_to_tab <<-\EOF | lf_to_nul >expect &&
test_expect_code 1 \
git merge-tree -z A^0 B^0 >out &&
- printf "\\n" >>out &&
+ echo >>out &&
anonymize_hash out >actual &&
q_to_tab <<-\EOF | lf_to_nul >expect &&
test_expect_code 1 \
git merge-tree -z A^0 B^0 >out &&
- printf "\\n" >>out &&
+ echo >>out &&
#
# First, check that some of the hashes that appear as stage
test_expect_code 1 \
git merge-tree -z A^0 B^0 >out &&
- printf "\\n" >>out &&
+ echo >>out &&
anonymize_hash out >actual &&
q_to_tab <<-\EOF | lf_to_nul >expect &&
git commit -m "Renamed numbers" &&
test_expect_code 1 git merge-tree --write-tree -z tweak1 side2 >out &&
- printf "\\n" >>out &&
+ echo >>out &&
anonymize_hash out >actual &&
# Expected results: