| 1863 | } |
| 1864 | |
| 1865 | int write_midx_file_only(struct odb_source *source, |
| 1866 | struct string_list *packs_to_include, |
| 1867 | const char *preferred_pack_name, |
| 1868 | const char *refs_snapshot, |
| 1869 | const char *incremental_base, |
| 1870 | unsigned flags) |
| 1871 | { |
| 1872 | struct write_midx_opts opts = { |
| 1873 | .source = source, |
| 1874 | .packs_to_include = packs_to_include, |
| 1875 | .preferred_pack_name = preferred_pack_name, |
| 1876 | .refs_snapshot = refs_snapshot, |
| 1877 | .incremental_base = incremental_base, |
| 1878 | .flags = flags, |
| 1879 | }; |
| 1880 | |
| 1881 | return write_midx_internal(&opts); |
| 1882 | } |
| 1883 | |
| 1884 | int write_midx_file_compact(struct odb_source *source, |
| 1885 | struct multi_pack_index *from, |
no test coverage detected