diff options
| author | Taylor Blau <me@ttaylorr.com> | 2025-10-15 18:29:35 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-16 10:08:57 -0700 |
| commit | 7ac4231b4283f4f8dc8447439730a5a2b8ed7eb4 (patch) | |
| tree | 7564f0a71d36c39883012364b03a6db7529a7ff6 /repack.h | |
| parent | repack: move `pack_kept_objects` to `struct pack_objects_args` (diff) | |
| download | git-7ac4231b4283f4f8dc8447439730a5a2b8ed7eb4.tar.gz git-7ac4231b4283f4f8dc8447439730a5a2b8ed7eb4.zip | |
repack: move `write_filtered_pack()` out of the builtin
In a similar fashion as in previous commits, move the function
`write_filtered_pack()` out of the builtin and into its own compilation
unit.
This function is now part of the repack.h API, but implemented in its
own "repack-filtered.c" unit as it is a separate component from other
kinds of repacking operations.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
| -rw-r--r-- | repack.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -133,4 +133,8 @@ struct repack_write_midx_opts { void midx_snapshot_refs(struct repository *repo, struct tempfile *f); int write_midx_included_packs(struct repack_write_midx_opts *opts); +int write_filtered_pack(const struct write_pack_opts *opts, + struct existing_packs *existing, + struct string_list *names); + #endif /* REPACK_H */ |
