3 test_description='git log --graph of skewed merges'
7 test_expect_success 'log --graph with merge fusing with its left and right neighbors' '
29 git checkout --orphan _p &&
32 git checkout -b _q @^ && test_commit C &&
33 git checkout -b _r @^ && test_commit D &&
34 git checkout _p && git merge --no-ff _q _r -m E &&
35 git checkout _r && test_commit F &&
36 git checkout _p && git merge --no-ff _r -m G &&
37 git checkout @^^ && git merge --no-ff _p -m H &&
39 git log --graph --pretty=tformat:%s | sed "s/ *$//" >actual &&
40 test_cmp expect actual