From 83151018ef0228b53739cbc2bc785a673752c349 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 17 Jan 2019 10:47:32 +0000 Subject: object_type: convert final internal users to new names Update some missed types that were continuing to use the old `GIT_OBJ` names. --- src/annotated_commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/annotated_commit.c') diff --git a/src/annotated_commit.c b/src/annotated_commit.c index d95d44093..5ef2babec 100644 --- a/src/annotated_commit.c +++ b/src/annotated_commit.c @@ -130,7 +130,7 @@ int git_annotated_commit_from_ref( *out = NULL; - if ((error = git_reference_peel(&peeled, ref, GIT_OBJ_COMMIT)) < 0) + if ((error = git_reference_peel(&peeled, ref, GIT_OBJECT_COMMIT)) < 0) return error; error = annotated_commit_init_from_id(out, -- cgit v1.2.1