3 test_description
='rebasing a commit with multi-line first paragraph.'
7 test_expect_success setup
'
12 git commit -m initial &&
16 git commit -a -m "A sample commit log message that has a long
17 summary that spills over multiple lines.
19 But otherwise with a sane description."
23 git reset --hard HEAD^ &&
31 test_expect_success rebase
'
35 git cat-file commit HEAD | sed -e "1,/^$/d" >actual &&
36 git cat-file commit side@{1} | sed -e "1,/^$/d" >expect &&
37 test_cmp expect actual