summaryrefslogtreecommitdiff
path: root/examples/log.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 /examples/log.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 'examples/log.c')
-rw-r--r--examples/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/log.c b/examples/log.c
index a107470ee..3e891e4d8 100644
--- a/examples/log.c
+++ b/examples/log.c
@@ -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);