Taylor Blau
70226c8c30
builtin/repack.c: convert --write-midx to an OPT_CALLBACK
...
Change the --write-midx (-m) flag from an OPT_BOOL to an OPT_CALLBACK
that accepts an optional mode argument. Introduce an enum with
REPACK_WRITE_MIDX_NONE and REPACK_WRITE_MIDX_DEFAULT to distinguish
between the two states, and update all existing boolean checks
accordingly.
For now, passing no argument (or just `-m`) selects the default mode,
preserving existing behavior. A subsequent commit will add a new mode
for writing incremental MIDXs.
Extract repack_write_midx() as a dispatcher that selects the
appropriate MIDX-writing implementation based on the mode.
Signed-off-by: Taylor Blau <me@ttaylorr.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2026-03-29 19:13:14 -07:00
..
2026-03-24 12:31:32 -07:00
2026-03-12 08:30:57 -07:00
2026-03-05 10:04:49 -08:00
2026-02-23 13:21:19 -08:00
2026-02-20 08:13:58 -08:00
2026-02-26 07:22:53 -08:00
2026-03-12 14:09:07 -07:00
2026-02-20 08:13:58 -08:00
2026-03-24 12:31:32 -07:00
2026-03-05 10:04:49 -08:00
2025-10-22 10:40:11 -07:00
2026-01-15 05:32:31 -08:00
2026-03-24 12:31:32 -07:00
2026-02-23 13:23:41 -08:00
2026-01-12 11:56:56 -08:00
2026-02-23 13:21:18 -08:00
2026-02-13 13:39:25 -08:00
2026-03-12 21:28:20 -07:00
2026-03-24 12:31:31 -07:00
2026-03-12 08:30:57 -07:00
2026-03-03 10:20:00 -08:00
2026-03-09 14:36:55 -07:00
2026-03-25 12:58:05 -07:00
2026-03-12 14:09:07 -07:00
2026-03-23 09:20:30 -07:00
2026-03-24 12:31:32 -07:00
2026-02-19 13:24:57 -08:00
2026-03-05 11:45:15 -08:00
2026-03-27 11:00:02 -07:00
2026-02-13 13:39:25 -08:00
2026-03-10 14:23:17 -07:00
2025-11-04 07:32:25 -08:00
2026-01-09 18:36:18 -08:00
2026-01-15 05:32:31 -08:00
2026-03-27 11:00:01 -07:00
2026-02-06 11:45:33 -08:00
2026-02-13 13:39:25 -08:00
2026-03-12 08:30:57 -07:00
2026-03-12 10:03:23 -07:00
2026-03-29 19:13:13 -07:00
2026-02-26 07:22:51 -08:00
2026-03-18 10:39:56 -07:00
2026-03-24 12:31:34 -07:00
2026-02-21 21:26:53 -08:00
2026-01-09 06:07:21 -08:00
2026-03-12 08:30:57 -07:00
2026-02-26 07:22:53 -08:00
2026-01-09 18:36:18 -08:00
2026-03-19 09:54:56 -07:00
2026-03-12 08:30:57 -07:00
2026-02-23 13:21:19 -08:00
2026-03-29 19:13:14 -07:00
2025-11-04 07:32:24 -08:00
2026-01-13 05:41:16 -08:00
2026-03-16 10:48:14 -07:00
2026-03-03 15:09:36 -08:00
2026-03-12 10:56:04 -07:00
2026-02-23 13:21:19 -08:00
2026-02-20 08:13:58 -08:00
2026-01-15 05:32:31 -08:00
2026-01-30 08:58:12 -08:00
2026-02-23 13:21:19 -08:00
2026-03-05 10:04:49 -08:00
2026-03-24 12:31:34 -07:00
2026-03-25 12:58:05 -07:00
2026-03-24 12:31:31 -07:00
2025-11-03 12:18:48 -08:00
2026-01-25 22:27:33 -08:00
2025-11-19 17:41:03 -08:00
2025-11-19 17:41:03 -08:00
2025-12-29 22:02:53 +09:00
2026-03-11 11:08:53 -07:00