summaryrefslogtreecommitdiff
path: root/src/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c15
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;
-}