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

Function get_shallows_depth

shallow.c:235–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235int get_shallows_depth(struct object_array *heads, struct object_array *shallows)
236{
237 int max_cur_depth = 0;
238 get_shallows_or_depth(heads, shallows, &max_cur_depth, 0, 0, 0);
239 return max_cur_depth;
240
241}
242
243struct commit_list *get_shallow_commits(struct object_array *heads,
244 struct object_array *shallows, int deepen_relative,

Callers 1

get_shallow_commitsFunction · 0.85

Calls 1

get_shallows_or_depthFunction · 0.85

Tested by

no test coverage detected