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/for-each-ref.c | |
| parent | cd350852206481e984f7847a903de8d350ad7bf1 (diff) | |
| download | libgit2-83151018ef0228b53739cbc2bc785a673752c349.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/for-each-ref.c')
| -rw-r--r-- | examples/for-each-ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/for-each-ref.c b/examples/for-each-ref.c index a8ceaaff9..dd6d35cee 100644 --- a/examples/for-each-ref.c +++ b/examples/for-each-ref.c @@ -18,7 +18,7 @@ static int show_ref(git_reference *ref, void *data) oid = git_reference_target(resolved ? resolved : ref); git_oid_fmt(hex, oid); hex[GIT_OID_HEXSZ] = 0; - check_lg2(git_object_lookup(&obj, repo, oid, GIT_OBJ_ANY), + check_lg2(git_object_lookup(&obj, repo, oid, GIT_OBJECT_ANY), "Unable to lookup object", hex); printf("%s %-6s\t%s\n", |
