]> git.ipfire.org Git - thirdparty/git.git/blob - t/t6110-rev-list-sparse.sh
The third batch
[thirdparty/git.git] / t / t6110-rev-list-sparse.sh
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_PASSES_SANITIZE_LEAK=true
8 . ./test-lib.sh
9
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 &&
17 git merge main
18 '
19
20 test_expect_success 'rev-list --first-parent --boundary' '
21 git rev-list --first-parent --boundary HEAD^..
22 '
23
24 test_done