The seventh batch
[git.git] / t / t6110-rev-list-sparse.sh
blobddefc7f24ee9cacc6cb7f5ca84c8ca3010e60ca5
1 #!/bin/sh
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
7 TEST_PASSES_SANITIZE_LEAK=true
8 . ./test-lib.sh
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
20 test_expect_success 'rev-list --first-parent --boundary' '
21 git rev-list --first-parent --boundary HEAD^..
24 test_done