about summary refs log tree commit diff
path: root/third_party/git/t/t6110-rev-list-sparse.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t6110-rev-list-sparse.sh')
-rwxr-xr-xthird_party/git/t/t6110-rev-list-sparse.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/git/t/t6110-rev-list-sparse.sh b/third_party/git/t/t6110-rev-list-sparse.sh
new file mode 100755
index 000000000000..656ac7fe9dc1
--- /dev/null
+++ b/third_party/git/t/t6110-rev-list-sparse.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+test_description='operations that cull histories in unusual ways'
+. ./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