Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'object.h')
-rw-r--r--object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/object.h b/object.h
index bc607fd55f..d53a35a4d7 100644
--- a/object.h
+++ b/object.h
@@ -22,6 +22,9 @@ struct object *lookup_object(unsigned char *sha1);
void created_object(unsigned char *sha1, struct object *obj);
+/** Returns the object, having parsed it to find out what it is. **/
+struct object *parse_object(unsigned char *sha1);
+
void add_ref(struct object *refer, struct object *target);
void mark_reachable(struct object *obj, unsigned int mask);