#!/bin/sh global test_description := ''operations that cull histories in unusual ways'' source ./test-lib.sh test_expect_success setup ' test_commit A && test_commit B && test_commit C && git checkout -b side HEAD^ && test_commit D && test_commit E && git merge master ' test_expect_success 'rev-list --first-parent --boundary' ' git rev-list --first-parent --boundary HEAD^.. ' test_done (CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:test_description) op: Equal rhs: {(SQ <"operations that cull histories in unusual ways">)} spids: [4] ) ] spids: [4] ) (C {(.)} {(./test-lib.sh)}) (C {(test_expect_success)} {(setup)} { (SQ <"\n"> <"\ttest_commit A &&\n"> <"\ttest_commit B &&\n"> <"\ttest_commit C &&\n"> <"\tgit checkout -b side HEAD^ &&\n"> <"\ttest_commit D &&\n"> <"\ttest_commit E &&\n"> <"\tgit merge master\n"> ) } ) (C {(test_expect_success)} {(SQ <"rev-list --first-parent --boundary">)} {(SQ <"\n"> <"\tgit rev-list --first-parent --boundary HEAD^..\n">)} ) (C {(test_done)}) ] )