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

Function no_try_delta

builtin/pack-objects.c:1514–1524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1512}
1513
1514static int no_try_delta(const char *path)
1515{
1516 static struct attr_check *check;
1517
1518 if (!check)
1519 check = attr_check_initl("delta", NULL);
1520 git_check_attr(the_repository->index, path, check);
1521 if (ATTR_FALSE(check->items[0].value))
1522 return 1;
1523 return 0;
1524}
1525
1526/*
1527 * When adding an object, check whether we have already added it

Callers 3

add_object_entryFunction · 0.85
show_object_pack_hintFunction · 0.85
add_cruft_object_entryFunction · 0.85

Calls 2

attr_check_initlFunction · 0.85
git_check_attrFunction · 0.85

Tested by

no test coverage detected