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

Function check_delta_limit

builtin/pack-objects.c:2945–2956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2943}
2944
2945static unsigned int check_delta_limit(struct object_entry *me, unsigned int n)
2946{
2947 struct object_entry *child = DELTA_CHILD(me);
2948 unsigned int m = n;
2949 while (child) {
2950 const unsigned int c = check_delta_limit(child, n + 1);
2951 if (m < c)
2952 m = c;
2953 child = DELTA_SIBLING(child);
2954 }
2955 return m;
2956}
2957
2958static unsigned long free_unpacked(struct unpacked *n)
2959{

Callers 1

find_deltasFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected