1#!/bin/sh
2
3test_description='operations that cull histories in unusual ways'
4. ./test-lib.sh
5
6test_commit () {
7 echo "$1" >"$1.file" &&
8 git add "$1.file" &&
9 test_tick &&
10 git commit -m "$1"
11}
12
13test_expect_success setup '
14 test_commit A &&
15 test_commit B &&
16 test_commit C &&
17 git checkout -b side HEAD^ &&
18 test_commit D &&
19 test_commit E &&
20 git merge master
21'
22
23test_expect_success 'rev-list --first-parent --boundary' '
24 git rev-list --first-parent --boundary HEAD^..
25'
26
27test_done