]>
Commit | Line | Data |
---|---|---|
6e7d0efa JH |
1 | #!/bin/sh |
2 | ||
3 | test_description='operations that cull histories in unusual ways' | |
1550bb6e | 4 | GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main |
334afbc7 JS |
5 | export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME |
6 | ||
ab1f6926 | 7 | TEST_PASSES_SANITIZE_LEAK=true |
6e7d0efa JH |
8 | . ./test-lib.sh |
9 | ||
6e7d0efa JH |
10 | test_expect_success setup ' |
11 | test_commit A && | |
12 | test_commit B && | |
13 | test_commit C && | |
14 | git checkout -b side HEAD^ && | |
15 | test_commit D && | |
16 | test_commit E && | |
1550bb6e | 17 | git merge main |
6e7d0efa JH |
18 | ' |
19 | ||
20 | test_expect_success 'rev-list --first-parent --boundary' ' | |
21 | git rev-list --first-parent --boundary HEAD^.. | |
22 | ' | |
23 | ||
24 | test_done |