MCPcopy Create free account
hub / github.com/git/git / add_to_write_order

Function add_to_write_order

builtin/pack-objects.c:875–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

873}
874
875static inline void add_to_write_order(struct object_entry **wo,
876 unsigned int *endp,
877 struct object_entry *e)
878{
879 if (e->filled || oe_layer(&to_pack, e) != write_layer)
880 return;
881 wo[(*endp)++] = e;
882 e->filled = 1;
883}
884
885static void add_descendants_to_write_order(struct object_entry **wo,
886 unsigned int *endp,

Callers 2

compute_layer_orderFunction · 0.85

Calls 1

oe_layerFunction · 0.85

Tested by

no test coverage detected