rebase: use correct base for --keep-base when a branch is given
[alt-git.git] / t / t6110-rev-list-sparse.sh
blob13c1da5352836758cb0806d0f969f2aac4c8f7c9
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-lib.sh
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
19 test_expect_success 'rev-list --first-parent --boundary' '
20 git rev-list --first-parent --boundary HEAD^..
23 test_done