summaryrefslogtreecommitdiff
path: root/examples/tag.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/tag.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/tag.c')
-rw-r--r--examples/tag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tag.c b/examples/tag.c
index 29a04c4e2..fa405b8de 100644
--- a/examples/tag.c
+++ b/examples/tag.c
@@ -135,10 +135,10 @@ static int each_tag(const char *name, tag_state *state)
"Failed to lookup rev", name);
switch (git_object_type(obj)) {
- case GIT_OBJ_TAG:
+ case GIT_OBJECT_TAG:
print_tag((git_tag *) obj, state);
break;
- case GIT_OBJ_COMMIT:
+ case GIT_OBJECT_COMMIT:
print_commit((git_commit *) obj, name, state);
break;
default: