Meet Soni
ecc70a48a5
builtin/refs: add optimize subcommand
...
As part of the ongoing effort to consolidate reference handling,
introduce a new `optimize` subcommand. This command provides the same
functionality and exit-code behavior as `git pack-refs`, serving as its
modern replacement.
Implement `cmd_refs_optimize` by having it call the `pack_refs_core()`
helper function. This helper was factored out of the original
`cmd_pack_refs` in a preceding commit, allowing both commands to share
the same core logic as independent peers.
Add documentation for the new command. The man page leverages the shared
options file, created in a previous commit, by using the AsciiDoc
`include::` macro to ensure consistency with git-pack-refs(1).
Mentored-by: Patrick Steinhardt <ps@pks.im >
Mentored-by: shejialuo <shejialuo@gmail.com >
Signed-off-by: Meet Soni <meetsoni3017@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2025-09-19 10:02:56 -07:00
..
2025-08-21 13:47:01 -07:00
2025-04-07 14:53:11 -07:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:03 -07:00
2025-08-25 14:22:04 -07:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:10 -08:00
2025-07-07 13:45:00 -07:00
2025-07-07 13:45:00 -07:00
2025-08-11 14:16:04 -07:00
2025-07-07 06:26:21 -07:00
2025-03-01 10:26:15 -08:00
2025-04-16 07:30:30 -07:00
2025-08-04 08:10:35 -07:00
2025-02-14 17:53:47 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-07-29 08:52:45 -07:00
2025-08-11 14:16:03 -07:00
2025-06-18 13:53:34 -07:00
2025-08-25 14:22:02 -07:00
2024-07-23 11:02:52 -07:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-04-16 07:30:29 -07:00
2025-08-25 14:22:02 -07:00
2025-05-14 12:32:58 -07:00
2024-12-07 07:52:13 +09:00
2025-07-29 08:52:45 -07:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-07-07 06:41:11 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-03-10 09:58:06 -07:00
2025-04-07 14:50:18 -07:00
2025-05-05 10:48:07 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-08-11 14:16:04 -07:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-25 14:22:02 -07:00
2025-06-01 17:20:16 -07:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-08-11 14:16:04 -07:00
2025-08-25 14:22:03 -07:00
2025-01-21 12:56:06 -08:00
2025-02-14 17:53:47 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-03-10 09:58:06 -07:00
2025-05-12 09:25:26 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-03-03 08:17:47 -08:00
2025-01-21 12:56:06 -08:00
2025-05-22 14:20:11 -07:00
2025-08-11 14:16:04 -07:00
2025-07-09 16:08:29 -07:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-08-25 14:22:02 -07:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-02-14 17:53:49 -08:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-07-22 08:49:15 -07:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-02-14 17:53:47 -08:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-06-09 11:33:25 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-07-14 11:19:28 -07:00
2025-01-21 12:56:06 -08:00
2025-05-27 07:51:01 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-04-14 14:43:52 -07:00
2025-01-21 12:56:06 -08:00
2025-05-27 15:31:08 -07:00
2025-08-11 14:16:03 -07:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-09-19 10:02:56 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-08-11 14:16:04 -07:00
2025-08-11 14:16:03 -07:00
2025-05-20 11:43:36 -07:00
2025-08-06 07:36:30 -07:00
2025-09-19 10:02:56 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-06-17 10:44:38 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-17 09:13:41 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-08-04 08:10:33 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-04-14 14:43:52 -07:00
2025-08-11 14:16:04 -07:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-02-14 17:53:47 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-04 08:10:33 -07:00
2025-01-21 12:56:06 -08:00
2025-05-27 15:31:05 -07:00
2025-08-25 14:22:02 -07:00
2025-08-11 14:16:03 -07:00
2025-07-28 14:24:03 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-04-08 07:59:49 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-05-12 09:25:27 -07:00
2025-05-12 09:25:27 -07:00
2025-05-12 09:25:27 -07:00
2025-05-12 09:25:27 -07:00
2025-04-07 14:39:27 -07:00
2025-01-21 12:56:06 -08:00
2025-05-12 15:30:12 -07:00
2025-08-11 14:16:04 -07:00
2025-05-12 09:25:26 -07:00
2025-02-21 10:35:53 -08:00
2025-03-10 09:58:06 -07:00
2025-03-10 09:58:06 -07:00
2025-01-21 12:56:06 -08:00
2025-05-30 10:23:37 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-03-10 09:58:06 -07:00
2025-08-11 14:16:03 -07:00
2025-01-21 12:56:06 -08:00
2025-06-06 15:05:47 -07:00
2025-07-14 11:19:22 -07:00
2025-03-05 07:25:11 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:03 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-03-10 09:58:06 -07:00
2025-08-11 14:16:03 -07:00
2025-01-21 12:56:06 -08:00
2025-07-11 09:44:06 -07:00
2025-02-14 17:53:47 -08:00
2025-01-21 12:56:06 -08:00
2025-07-07 13:45:00 -07:00
2025-07-07 13:45:00 -07:00
2025-08-11 14:16:03 -07:00
2025-08-11 14:16:04 -07:00
2025-08-11 14:16:03 -07:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-08-11 14:16:04 -07:00
2025-05-27 07:51:00 -07:00
2025-08-25 14:22:04 -07:00
2025-05-19 10:53:12 -07:00
2025-06-25 14:07:35 -07:00
2025-01-21 12:56:06 -08:00
2025-09-19 10:02:56 -07:00
2025-07-07 13:45:00 -07:00
2025-07-21 09:14:28 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-05-27 07:50:59 -07:00
2025-07-07 13:45:00 -07:00
2025-07-21 09:14:28 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-08-11 14:16:04 -07:00
2025-01-21 12:56:06 -08:00
2025-02-14 17:53:47 -08:00
2025-07-16 07:35:45 -07:00
2025-03-10 09:58:06 -07:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-01-21 12:56:06 -08:00
2025-07-23 08:15:18 -07:00