]> git.proxmox.com Git - libgit2.git/blobdiff - examples/log.c
New upstream version 0.28.1+dfsg.1
[libgit2.git] / examples / log.c
index a107470ee7aa0031be3f2f90e7a6b9e33b46cd14..3e891e4d819517aae89b040ca5ae826d5f0580e8 100644 (file)
@@ -275,7 +275,7 @@ static int add_revision(struct log_state *s, const char *revstr)
                                git_object_id(revs.from), git_object_id(revs.to)),
                                "Could not find merge base", revstr);
                        check_lg2(
-                               git_object_lookup(&revs.to, s->repo, &base, GIT_OBJ_COMMIT),
+                               git_object_lookup(&revs.to, s->repo, &base, GIT_OBJECT_COMMIT),
                                "Could not find merge base commit", NULL);
 
                        push_rev(s, revs.to, hide);