Commit 5748fdee524cd027fa5a3de3f18646501533a808

Ben Straub 2012-05-01T14:34:05

Rev-parse chaining: adding the longest chain in the test repo.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/refs/revparse.c b/tests-clar/refs/revparse.c
index d8013ab..f302e2c 100644
--- a/tests-clar/refs/revparse.c
+++ b/tests-clar/refs/revparse.c
@@ -129,6 +129,8 @@ void test_refs_revparse__chaining(void)
    oid_str_cmp(g_obj, "c47800c7266a2be04c571c04d5a6614691ea99bd");
    cl_git_pass(git_revparse_single(&g_obj, g_repo, "master^1^2~1"));
    oid_str_cmp(g_obj, "5b5b025afb0b4c913b4c338a42934a3863bf3644");
+   cl_git_pass(git_revparse_single(&g_obj, g_repo, "master^1^1^1^1^1"));
+   oid_str_cmp(g_obj, "8496071c1b46c854b31185ea97743be6a8774479");
 }
 
 void test_refs_revparse__reflog(void)