MCPcopy Index your code
hub / github.com/git/git / add_one_object

Function add_one_object

http-push.c:1281–1288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1279}
1280
1281static struct object_list **add_one_object(struct object *obj, struct object_list **p)
1282{
1283 struct object_list *entry = xmalloc(sizeof(struct object_list));
1284 entry->item = obj;
1285 entry->next = *p;
1286 *p = entry;
1287 return &entry->next;
1288}
1289
1290static struct object_list **process_blob(struct blob *blob,
1291 struct object_list **p)

Callers 3

process_blobFunction · 0.70
process_treeFunction · 0.70
get_deltaFunction · 0.70

Calls 1

xmallocFunction · 0.70

Tested by

no test coverage detected