diff options
Diffstat (limited to 'src/annotated_commit.c')
-rw-r--r-- | src/annotated_commit.c | 2 |
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, |