Taylor Blau
e6b0907721
builtin/repack.c: extract opts struct for 'write_midx_included_packs()'
...
The function 'write_midx_included_packs()', which is responsible for
writing a new MIDX with a given set of included packs, currently takes a
list of six arguments.
In order to extract this function out of the builtin, we have to pass
in a few additional parameters, like 'midx_must_contain_cruft' and
'packdir', which are currently declared as static variables within the
builtin/repack.c compilation unit.
Instead of adding additional parameters to `write_midx_included_packs()`
extract out an "opts" struct that names these parameters, and pass a
pointer to that, making it less cumbersome to add additional parameters.
Signed-off-by: Taylor Blau <me@ttaylorr.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2025-10-16 10:08:55 -07:00
..
2025-08-25 09:48:13 -07:00
2025-07-23 08:15:20 -07:00
2024-10-25 14:02:36 -04:00
2025-07-01 14:58:24 -07:00
2024-10-11 09:37:18 -07:00
2025-09-24 11:53:50 -07:00
2024-12-06 20:20:02 +09:00
2025-08-21 13:46:59 -07:00
2025-07-23 08:15:21 -07:00
2025-04-15 08:24:35 -07:00
2024-12-13 07:33:36 -08:00
2025-09-24 11:53:51 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-01-17 13:30:03 -08:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-08-05 11:53:55 -07:00
2025-08-21 13:47:00 -07:00
2025-07-23 08:15:21 -07:00
2025-07-23 08:15:18 -07:00
2025-09-12 10:41:18 -07:00
2025-07-23 08:15:22 -07:00
2025-09-18 10:07:00 -07:00
2025-07-23 08:15:21 -07:00
2025-09-24 11:53:51 -07:00
2025-07-23 08:15:20 -07:00
2024-11-01 12:53:19 -04:00
2025-07-23 08:15:20 -07:00
2025-07-23 08:15:22 -07:00
2025-09-12 10:41:21 -07:00
2025-04-15 08:24:35 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:18 -07:00
2025-03-03 08:17:47 -08:00
2025-07-23 08:15:18 -07:00
2025-08-09 17:22:01 -07:00
2025-07-01 14:46:38 -07:00
2025-08-04 08:10:33 -07:00
2025-09-24 11:53:51 -07:00
2025-06-04 08:52:25 -07:00
2025-07-23 08:15:20 -07:00
2025-08-11 09:19:40 -07:00
2025-08-22 13:13:20 -07:00
2024-12-06 20:20:04 +09:00
2025-09-24 11:53:51 -07:00
2025-07-23 08:15:22 -07:00
2025-09-24 11:53:51 -07:00
2025-01-17 13:30:03 -08:00
2025-09-24 11:53:51 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-09-24 11:53:50 -07:00
2025-04-24 17:25:34 -07:00
2025-07-23 08:15:22 -07:00
2025-09-08 14:54:35 -07:00
2025-08-29 09:46:07 -07:00
2025-09-08 14:54:35 -07:00
2025-07-01 14:58:24 -07:00
2025-09-10 14:29:49 -07:00
2024-12-18 10:44:31 -08:00
2025-01-17 13:30:03 -08:00
2025-07-23 08:15:22 -07:00
2025-08-05 11:53:55 -07:00
2025-01-17 13:30:03 -08:00
2025-01-17 13:30:03 -08:00
2025-08-08 11:13:12 -07:00
2025-08-21 13:47:00 -07:00
2025-09-18 10:07:00 -07:00
2025-08-05 11:53:55 -07:00
2025-07-16 22:16:15 -07:00
2025-09-12 10:41:18 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:18 -07:00
2025-08-21 13:47:00 -07:00
2025-09-24 11:53:51 -07:00
2025-09-24 11:53:51 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2024-09-13 14:33:30 -07:00
2025-08-05 11:53:55 -07:00
2025-08-04 08:10:33 -07:00
2025-07-23 08:15:18 -07:00
2025-08-29 09:46:07 -07:00
2025-07-23 08:15:22 -07:00
2025-09-18 10:07:00 -07:00
2025-09-24 11:53:50 -07:00
2025-08-21 13:46:57 -07:00
2025-09-02 09:58:35 -07:00
2025-01-17 13:30:03 -08:00
2025-01-17 13:30:03 -08:00
2025-08-21 13:46:58 -07:00
2025-10-16 10:08:55 -07:00
2025-08-05 11:53:55 -07:00
2025-06-05 08:35:22 -07:00
2025-09-04 11:36:40 -07:00
2025-07-23 08:15:18 -07:00
2025-08-04 08:10:33 -07:00
2025-08-04 08:10:33 -07:00
2025-09-10 14:29:49 -07:00
2025-09-18 10:07:00 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:18 -07:00
2025-07-01 14:58:24 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:18 -07:00
2025-09-23 11:53:40 -07:00
2025-07-23 08:15:18 -07:00
2025-08-05 11:53:56 -07:00
2025-07-23 08:15:22 -07:00
2025-08-05 11:53:55 -07:00
2025-07-23 08:15:22 -07:00
2025-08-25 09:48:13 -07:00
2025-08-25 09:48:13 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-01-17 13:30:03 -08:00
2024-12-18 10:44:30 -08:00
2025-08-21 13:46:59 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:21 -07:00
2025-07-23 08:15:22 -07:00