X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=object.h;h=bf744490a9a75c5e84af6384b2fa2bc4eb492452;hb=8ceba720ba5e5e76384e46629e599124c6f36409;hp=5af530da5decf0abbfafeee041143c0acd0d600a;hpb=3f81fc82743ccd4fd7157f1f1db41605eb018fb9;p=git.git diff --git a/object.h b/object.h index 5af530da..bf744490 100644 --- a/object.h +++ b/object.h @@ -41,6 +41,9 @@ void mark_reachable(struct object *obj, unsigned int mask); struct object_list *object_list_insert(struct object *item, struct object_list **list_p); +void object_list_append(struct object *item, + struct object_list **list_p); + unsigned object_list_length(struct object_list *list); int object_list_contains(struct object_list *list, struct object *obj);