| 1512 | } |
| 1513 | |
| 1514 | static 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 |
no test coverage detected