summaryrefslogtreecommitdiff
path: root/src/annotated_commit.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-19 01:36:40 +0000
committerGitHub <noreply@github.com>2019-01-19 01:36:40 +0000
commitb2c2dc643b2bd3d440a25a2ce3d64427dc28d4de (patch)
tree771ce3175bd58276ae06a6908dd6d54a3a847f95 /src/annotated_commit.c
parentc352e5617ac56feec258e9a094460aa4da6e00ec (diff)
parent83151018ef0228b53739cbc2bc785a673752c349 (diff)
downloadlibgit2-b2c2dc643b2bd3d440a25a2ce3d64427dc28d4de.tar.gz
Merge pull request #4940 from libgit2/ethomson/git_obj
More `git_obj` to `git_object` updates
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,