| 1524 | } |
| 1525 | |
| 1526 | static int files_optimize_required(struct ref_store *ref_store, |
| 1527 | struct refs_optimize_opts *opts, |
| 1528 | bool *required) |
| 1529 | { |
| 1530 | struct files_ref_store *refs = files_downcast(ref_store, REF_STORE_READ, |
| 1531 | "optimize_required"); |
| 1532 | *required = should_pack_refs(refs, opts); |
| 1533 | return 0; |
| 1534 | } |
| 1535 | |
| 1536 | /* |
| 1537 | * People using contrib's git-new-workdir have .git/logs/refs -> |
nothing calls this directly
no test coverage detected