3 test_description='--reverse combines with --parents'
15 test_expect_success 'set up --reverse example' '
19 git checkout -b side HEAD^ &&
21 git checkout master &&
22 git merge -s ours side &&
26 test_expect_success '--reverse --parents --full-history combines correctly' '
27 git rev-list --parents --full-history master -- foo |
28 "$PERL_PATH" -e "print reverse <>" > expected &&
29 git rev-list --reverse --parents --full-history master -- foo \
31 test_cmp actual expected
34 test_expect_success '--boundary does too' '
35 git rev-list --boundary --parents --full-history master ^root -- foo |
36 "$PERL_PATH" -e "print reverse <>" > expected &&
37 git rev-list --boundary --reverse --parents --full-history \
38 master ^root -- foo > actual &&
39 test_cmp actual expected