summaryrefslogtreecommitdiff
path: root/tests/diff/diff_helpers.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-11-28 14:26:57 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2018-12-01 11:54:57 +0000
commit168fe39bea3368972a8b1a33d5908e73bc790c18 (patch)
treec6d07340e2d8d2d66091c44c7763f3e1823acca2 /tests/diff/diff_helpers.c
parent18e71e6d597abe6c7feb666429c921bd19dc0ba8 (diff)
downloadlibgit2-168fe39bea3368972a8b1a33d5908e73bc790c18.tar.gz
object_type: use new enumeration namesethomson/index_fixes
Use the new object_type enumeration names within the codebase.
Diffstat (limited to 'tests/diff/diff_helpers.c')
-rw-r--r--tests/diff/diff_helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/diff/diff_helpers.c b/tests/diff/diff_helpers.c
index 50752b203..fdedd89ca 100644
--- a/tests/diff/diff_helpers.c
+++ b/tests/diff/diff_helpers.c
@@ -12,9 +12,9 @@ git_tree *resolve_commit_oid_to_tree(
git_tree *tree = NULL;
if (git_oid_fromstrn(&oid, partial_oid, len) == 0)
- cl_git_pass(git_object_lookup_prefix(&obj, repo, &oid, len, GIT_OBJ_ANY));
+ cl_git_pass(git_object_lookup_prefix(&obj, repo, &oid, len, GIT_OBJECT_ANY));
- cl_git_pass(git_object_peel((git_object **) &tree, obj, GIT_OBJ_TREE));
+ cl_git_pass(git_object_peel((git_object **) &tree, obj, GIT_OBJECT_TREE));
git_object_free(obj);
return tree;
}