Raw
1 #!/bin/sh
2
3 test_description='operations that cull histories in unusual ways'
4 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
5 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
6
7 . ./test-lib.sh
8
9 test_expect_success setup '
10 test_commit A &&
11 test_commit B &&
12 test_commit C &&
13 git checkout -b side HEAD^ &&
14 test_commit D &&
15 test_commit E &&
16 git merge main
17 '
18
19 test_expect_success 'rev-list --first-parent --boundary' '
20 git rev-list --first-parent --boundary HEAD^..
21 '
22
23 test_done