diff options
| author | Taylor Blau <me@ttaylorr.com> | 2025-10-15 18:28:01 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-16 10:08:54 -0700 |
| commit | 7005d2594b73d30beae7abebdd035becca05299d (patch) | |
| tree | c2e6b452d2f85e7f35a458dd7a96ab72eb00f93b /repack.h | |
| parent | e35ef71e003cb0731d9f33605f598e1b99746441 (diff) | |
| download | git-7005d2594b73d30beae7abebdd035becca05299d.tar.xz | |
repack: remove 'prepare_pack_objects' from the builtin
Now that the 'prepare_pack_objects' function no longer refers to
external, static variables, move it out to repack.h as generic
functionality.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repack.h')
| -rw-r--r-- | repack.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,11 @@ struct pack_objects_args { #define PACK_OBJECTS_ARGS_INIT { .delta_base_offset = 1 } +struct child_process; + +void prepare_pack_objects(struct child_process *cmd, + const struct pack_objects_args *args, + const char *out); void pack_objects_args_release(struct pack_objects_args *args); #endif /* REPACK_H */ |
