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

Function update_extended_entry

tree-walk.c:397–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397static void update_extended_entry(struct tree_desc_x *t, struct name_entry *a)
398{
399 if (t->d.entry.path == a->path) {
400 update_tree_entry(&t->d);
401 } else {
402 /* we have returned this entry early */
403 struct tree_desc_skip *skip = xmalloc(sizeof(*skip));
404 skip->ptr = a->path;
405 skip->prev = t->skip;
406 t->skip = skip;
407 }
408}
409
410static void free_extended_entry(struct tree_desc_x *t)
411{

Callers 1

traverse_treesFunction · 0.85

Calls 2

update_tree_entryFunction · 0.85
xmallocFunction · 0.70

Tested by

no test coverage detected