1#!/bin/sh 2 3test_description='operations that cull histories in unusual ways' 4GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main 5export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME 6 7. ./test-lib.sh 8 9test_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 19test_expect_success 'rev-list --first-parent --boundary' ' 20 git rev-list --first-parent --boundary HEAD^.. 21' 22 23test_done 24