summaryrefslogtreecommitdiff
path: root/src/annotated_commit.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-17 10:47:32 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-17 11:03:19 +0000
commit83151018ef0228b53739cbc2bc785a673752c349 (patch)
tree5e616319a7cf561021bf4baf2fb73e6b5dc9fbf7 /src/annotated_commit.c
parentcd350852206481e984f7847a903de8d350ad7bf1 (diff)
downloadlibgit2-ethomson/git_obj.tar.gz
object_type: convert final internal users to new namesethomson/git_obj
Update some missed types that were continuing to use the old `GIT_OBJ` names.
Diffstat (limited to 'src/annotated_commit.c')
-rw-r--r--src/annotated_commit.c2
1 files changed, 1 insertions, 1 deletions
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,