summaryrefslogtreecommitdiff
path: root/src/object.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-10 16:55:29 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-10 16:56:32 +0200
commit575a54db856947aeb4fc5cf1977844d22dfa1aab (patch)
treeed78187ff5d5d489888ea0740ec22c1968dbd218 /src/object.h
parent90431f1b80cc72c6cc4165665c9c46b6292daee5 (diff)
downloadlibgit2-575a54db856947aeb4fc5cf1977844d22dfa1aab.tar.gz
object: Export git_object_dup
Diffstat (limited to 'src/object.h')
-rw-r--r--src/object.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/object.h b/src/object.h
index 8788caba6..c1e50593c 100644
--- a/src/object.h
+++ b/src/object.h
@@ -17,13 +17,6 @@ struct git_object {
/* fully free the object; internal method, DO NOT EXPORT */
void git_object__free(void *object);
-GIT_INLINE(int) git_object__dup(git_object **dest, git_object *source)
-{
- git_cached_obj_incref(source);
- *dest = source;
- return 0;
-}
-
int git_object__from_odb_object(
git_object **object_out,
git_repository *repo,