diff options
author | Philip Kelley <phkelley@hotmail.com> | 2012-11-29 08:22:15 -0500 |
---|---|---|
committer | Philip Kelley <phkelley@hotmail.com> | 2012-11-29 08:22:15 -0500 |
commit | ac22d08f2fbe53c28a0f7dffcfa44c5408dcf78f (patch) | |
tree | 95ebc791ee8b7ee0edc1223011db550a8b2e3d0f /src/object.c | |
parent | 613d5eb9391d6cc33c91f4dc9cdb5ede1885dc72 (diff) | |
download | libgit2-ac22d08f2fbe53c28a0f7dffcfa44c5408dcf78f.tar.gz |
Remove git_object_oid2type
Diffstat (limited to 'src/object.c')
-rw-r--r-- | src/object.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/object.c b/src/object.c index 0666c4466..f88c2ba50 100644 --- a/src/object.c +++ b/src/object.c @@ -374,18 +374,3 @@ int git_object_peel( return -1; } -int git_object_oid2type( - git_otype *type, - git_repository *repo, - const git_oid *oid) -{ - git_object *obj; - - if (git_object_lookup(&obj, repo, oid, GIT_OBJ_ANY) < 0) - return -1; - - *type = git_object_type(obj); - - git_object_free(obj); - return 0; -} |