Merge branch 'jc/rev-list-options-fix' into maint
[git/jnareb-git.git] / t / t6110-rev-list-sparse.sh
blob2a267e84cdaebce5b0a1e043521c68204d16eb6c
1 #!/bin/sh
3 test_description='operations that cull histories in unusual ways'
4 . ./test-lib.sh
6 test_commit () {
7 echo "$1" >"$1.file" &&
8 git add "$1.file" &&
9 test_tick &&
10 git commit -m "$1"
13 test_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
23 test_expect_success 'rev-list --first-parent --boundary' '
24 git rev-list --first-parent --boundary HEAD^..
27 test_done