diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-28 14:26:57 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-01 11:54:57 +0000 |
commit | 168fe39bea3368972a8b1a33d5908e73bc790c18 (patch) | |
tree | c6d07340e2d8d2d66091c44c7763f3e1823acca2 /tests/revwalk/basic.c | |
parent | 18e71e6d597abe6c7feb666429c921bd19dc0ba8 (diff) | |
download | libgit2-ethomson/index_fixes.tar.gz |
object_type: use new enumeration namesethomson/index_fixes
Use the new object_type enumeration names within the codebase.
Diffstat (limited to 'tests/revwalk/basic.c')
-rw-r--r-- | tests/revwalk/basic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/revwalk/basic.c b/tests/revwalk/basic.c index efb48cbf1..2eb0c3537 100644 --- a/tests/revwalk/basic.c +++ b/tests/revwalk/basic.c @@ -292,9 +292,9 @@ void test_revwalk_basic__multiple_push_1(void) } /* -* Difference between test_revwalk_basic__multiple_push_1 and +* Difference between test_revwalk_basic__multiple_push_1 and * test_revwalk_basic__multiple_push_2 is in the order reference -* refs/heads/packed-test and commit 5b5b02 are pushed. +* refs/heads/packed-test and commit 5b5b02 are pushed. * revwalk should return same commits in both the tests. * $ git rev-list 5b5b02 HEAD ^refs/heads/packed-test @@ -509,7 +509,7 @@ void test_revwalk_basic__big_timestamp(void) revwalk_basic_setup_walk("testrepo.git"); cl_git_pass(git_repository_head(&head, _repo)); - cl_git_pass(git_reference_peel((git_object **) &tip, head, GIT_OBJ_COMMIT)); + cl_git_pass(git_reference_peel((git_object **) &tip, head, GIT_OBJECT_COMMIT)); /* Commit with a far-ahead timestamp, we should be able to parse it in the revwalk */ cl_git_pass(git_signature_new(&sig, "Joe", "joe@example.com", 2399662595, 0)); |