interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t6110-rev-list-sparse.sh

23 lines · 469 bytes Raw Blame History
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