--dirstat: In case of renames, use target filename instead of source filename
[git] / t / t6110-rev-list-sparse.sh
1 #!/bin/sh
2
3 test_description='operations that cull histories in unusual ways'
4 . ./test-lib.sh
5
6 test_commit () {
7         echo "$1" >"$1.file" &&
8         git add "$1.file" &&
9         test_tick &&
10         git commit -m "$1"
11 }
12
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 '
22
23 test_expect_success 'rev-list --first-parent --boundary' '
24         git rev-list --first-parent --boundary HEAD^..
25 '
26
27 test_done