diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-17 10:47:32 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-17 11:03:19 +0000 |
commit | 83151018ef0228b53739cbc2bc785a673752c349 (patch) | |
tree | 5e616319a7cf561021bf4baf2fb73e6b5dc9fbf7 /examples/cat-file.c | |
parent | cd350852206481e984f7847a903de8d350ad7bf1 (diff) | |
download | libgit2-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/cat-file.c')
-rw-r--r-- | examples/cat-file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/cat-file.c b/examples/cat-file.c index f948740a1..0fb7d4535 100644 --- a/examples/cat-file.c +++ b/examples/cat-file.c @@ -168,16 +168,16 @@ int main(int argc, char *argv[]) case SHOW_PRETTY: switch (git_object_type(obj)) { - case GIT_OBJ_BLOB: + case GIT_OBJECT_BLOB: show_blob((const git_blob *)obj); break; - case GIT_OBJ_COMMIT: + case GIT_OBJECT_COMMIT: show_commit((const git_commit *)obj); break; - case GIT_OBJ_TREE: + case GIT_OBJECT_TREE: show_tree((const git_tree *)obj); break; - case GIT_OBJ_TAG: + case GIT_OBJECT_TAG: show_tag((const git_tag *)obj); break; default: |