Code

Merge branch 'maint-1.7.3' into maint-1.7.4
[git.git] / t / t6110-rev-list-sparse.sh
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"
11 }
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
21 '
23 test_expect_success 'rev-list --first-parent --boundary' '
24         git rev-list --first-parent --boundary HEAD^..
25 '
27 test_done