Karthik Nayak
89be7d2774
builtin/refs: add '--no-reflog' flag to drop reflogs
...
The "git refs migrate" subcommand converts the backend used for ref
storage. It always migrates reflog data as well as refs. Introduce an
option to exclude reflogs from migration, allowing them to be discarded
when they are unnecessary.
This is particularly useful in server-side repositories, where reflogs
are typically not expected. However, some repositories may still have
them due to historical reasons, such as bugs, misconfigurations, or
administrative decisions to enable reflogs for debugging. In such
repositories, it would be optimal to drop reflogs during the migration.
To address this, introduce the '--no-reflog' flag, which prevents reflog
migration. When this flag is used, reflogs from the original reference
backend are migrated. Since only the new reference backend remains in
the repository, all previous reflogs are permanently discarded.
Helped-by: Junio C Hamano <gitster@pobox.com >
Helped-by: Patrick Steinhardt <ps@pks.im >
Signed-off-by: Karthik Nayak <karthik.188@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2025-02-21 09:55:02 -08:00
..
2025-02-12 10:08:55 -08:00
2024-12-27 08:28:11 -08:00
2022-09-07 09:46:05 -07:00
2024-02-19 08:45:14 -08:00
2025-02-12 10:09:08 -08:00
2025-01-29 14:05:09 -08:00
2024-12-27 08:28:12 -08:00
2024-12-27 08:28:10 -08:00
2024-12-20 17:34:35 -08:00
2023-04-24 15:16:31 -07:00
2025-01-24 08:08:56 -08:00
2024-12-07 07:52:12 +09:00
2024-12-07 07:52:12 +09:00
2024-12-15 17:54:33 -08:00
2025-01-24 12:37:43 -08:00
2024-04-12 09:03:03 -07:00
2024-09-23 12:47:36 -07:00
2024-11-19 12:31:04 +09:00
2024-11-19 12:31:05 +09:00
2024-11-19 12:31:04 +09:00
2023-05-05 14:28:03 -07:00
2024-07-23 11:02:52 -07:00
2024-11-04 22:53:23 -08:00
2024-11-21 08:21:34 +09:00
2024-12-07 07:52:13 +09:00
2024-11-12 09:32:18 +09:00
2024-06-17 15:55:56 -07:00
2022-10-13 09:32:57 -07:00
2024-09-09 10:07:24 -07:00
2021-10-28 09:57:09 -07:00
2024-06-26 12:56:45 -07:00
2023-01-13 11:58:51 -08:00
2024-02-13 14:44:51 -08:00
2023-12-26 11:06:55 -08:00
2024-01-08 10:06:05 -08:00
2024-03-16 09:31:42 -07:00
2024-12-13 07:33:38 -08:00
2024-08-22 14:59:22 -07:00
2023-10-09 12:06:44 -07:00
2023-10-09 12:06:29 -07:00
2024-08-27 14:51:29 -07:00
2023-10-09 12:06:47 -07:00
2023-10-09 12:06:44 -07:00
2024-10-10 13:09:13 -07:00
2024-03-25 16:45:41 -07:00
2024-03-04 14:05:13 -08:00
2024-12-10 10:04:55 +09:00
2022-09-07 09:46:07 -07:00
2023-12-26 11:06:55 -08:00
2020-04-03 11:37:22 -07:00
2025-01-15 14:43:36 -08:00
2024-10-08 23:35:45 -07:00
2023-10-09 12:06:29 -07:00
2022-10-13 09:32:56 -07:00
2025-01-10 15:10:00 -08:00
2023-10-09 12:06:29 -07:00
2024-04-16 22:39:08 -07:00
2021-11-09 09:39:11 -08:00
2023-11-26 10:07:05 +09:00
2023-12-26 11:06:55 -08:00
2023-12-26 11:06:57 -08:00
2023-06-12 13:52:51 -07:00
2023-12-26 11:06:55 -08:00
2023-10-09 12:06:44 -07:00
2023-10-09 12:04:21 -07:00
2024-09-12 11:02:19 -07:00
2024-11-19 12:31:04 +09:00
2024-03-01 14:38:54 -08:00
2024-02-20 15:03:13 -08:00
2024-04-23 11:52:40 -07:00
2024-11-04 22:53:23 -08:00
2023-12-26 11:06:55 -08:00
2023-12-26 11:06:55 -08:00
2021-12-20 14:55:02 -08:00
2024-08-14 10:10:06 -07:00
2024-04-24 10:46:03 -07:00
2024-10-21 16:05:04 -04:00
2023-10-09 12:06:29 -07:00
2023-10-09 12:06:44 -07:00
2025-01-24 14:32:28 -08:00
2023-10-09 12:06:24 -07:00
2024-03-25 14:00:03 -07:00
2024-05-11 14:31:30 -07:00
2023-10-09 12:04:21 -07:00
2023-10-09 12:06:47 -07:00
2023-10-09 12:06:29 -07:00
2023-10-09 12:04:21 -07:00
2023-10-09 12:04:21 -07:00
2023-10-09 12:06:44 -07:00
2023-11-26 10:07:05 +09:00
2024-11-20 10:37:56 +09:00
2021-11-09 09:39:11 -08:00
2024-09-24 10:20:26 -07:00
2025-01-24 12:37:43 -08:00
2023-10-09 12:47:29 -07:00
2024-07-26 10:53:21 -07:00
2024-10-08 10:22:08 -07:00
2023-06-22 16:29:07 -07:00
2022-09-07 09:46:06 -07:00
2023-10-09 12:06:29 -07:00
2024-10-03 11:23:09 -07:00
2023-10-09 12:06:44 -07:00
2023-11-22 14:23:06 +09:00
2021-11-09 09:39:11 -08:00
2024-10-09 10:40:42 -07:00
2024-02-08 16:22:10 -08:00
2023-10-09 12:06:29 -07:00
2023-10-09 12:06:44 -07:00
2023-10-09 12:06:29 -07:00
2023-10-09 12:04:21 -07:00
2024-08-06 12:01:39 -07:00
2023-12-26 11:06:55 -08:00
2023-10-09 12:06:44 -07:00
2025-01-10 15:19:52 -08:00
2022-05-04 10:30:01 -07:00
2025-01-27 13:21:41 -08:00
2023-03-30 07:50:43 -07:00
2024-03-25 09:54:07 -07:00
2022-10-24 15:44:20 -07:00
2023-10-09 12:06:29 -07:00
2023-10-09 12:06:29 -07:00
2024-03-16 10:04:45 -07:00
2023-11-02 16:53:28 +09:00
2023-10-09 12:06:47 -07:00
2024-12-16 08:45:48 -08:00
2023-10-09 12:06:29 -07:00
2024-08-16 12:50:55 -07:00
2023-10-09 12:06:29 -07:00
2024-02-21 09:58:07 -08:00
2025-02-21 09:55:02 -08:00
2023-10-09 12:06:29 -07:00
2023-10-09 12:06:47 -07:00
2024-02-21 10:02:55 -08:00
2025-01-27 13:21:43 -08:00
2023-12-26 11:06:55 -08:00
2024-04-15 11:02:43 -07:00
2023-10-09 12:06:44 -07:00
2022-10-13 09:32:56 -07:00
2023-01-13 09:55:45 -08:00
2025-01-10 15:21:21 -08:00
2023-10-09 12:06:29 -07:00
2024-06-28 15:53:14 -07:00
2023-12-26 11:06:55 -08:00
2023-10-09 12:06:29 -07:00
2024-09-25 08:58:38 -07:00
2023-10-09 12:06:29 -07:00
2023-10-09 12:06:29 -07:00
2022-10-24 14:48:05 -07:00
2024-07-15 10:11:43 -07:00
2024-12-20 17:30:57 -08:00
2024-06-04 15:07:08 -07:00
2023-10-09 12:06:29 -07:00
2023-06-12 13:52:51 -07:00
2021-11-09 09:39:11 -08:00
2023-06-12 13:52:51 -07:00
2024-03-28 14:13:50 -07:00
2023-10-09 12:06:29 -07:00
2024-08-08 09:22:21 -07:00
2024-08-14 15:10:24 -07:00
2024-01-02 13:51:30 -08:00
2024-10-21 16:49:31 -04:00
2024-05-07 10:06:03 -07:00
2024-05-13 16:57:17 -07:00
2024-12-13 07:33:39 -08:00
2023-10-09 12:06:29 -07:00
2022-10-13 09:32:56 -07:00
2024-04-19 12:38:50 +02:00
2023-10-09 12:04:21 -07:00
2022-10-13 09:32:56 -07:00
2023-10-09 12:06:29 -07:00
2022-10-13 09:32:56 -07:00
2021-09-14 10:05:40 -07:00
2021-10-28 09:57:09 -07:00
2023-10-09 12:06:29 -07:00
2024-12-02 09:36:17 +09:00
2025-01-06 08:23:29 -08:00
2025-01-07 15:11:36 -08:00
2025-01-23 15:07:02 -08:00
2023-11-26 10:07:05 +09:00
2025-01-10 15:10:00 -08:00
2023-12-26 11:06:55 -08:00
2023-10-30 07:09:55 +09:00
2024-07-09 21:24:42 -07:00
2023-10-09 12:06:29 -07:00
2023-10-09 12:06:29 -07:00
2024-09-23 12:47:36 -07:00
2023-12-26 11:06:55 -08:00
2023-12-14 14:38:07 -08:00
2023-03-06 21:51:56 -08:00
2024-08-16 12:50:53 -07:00
2023-07-27 15:26:37 -07:00
2023-12-26 11:06:55 -08:00
2021-05-04 11:52:03 +09:00
2023-07-25 14:55:07 -07:00
2021-04-10 23:36:34 -07:00
2024-07-17 08:48:30 -07:00
2023-12-26 11:06:55 -08:00
2023-10-09 12:06:29 -07:00
2024-02-08 16:22:01 -08:00
2023-10-09 12:06:29 -07:00
2024-11-25 12:29:47 +09:00
2024-04-03 10:56:18 -07:00
2025-01-24 08:08:56 -08:00
2023-12-26 11:06:55 -08:00
2024-09-12 11:02:19 -07:00
2024-02-08 16:22:01 -08:00
2024-09-23 12:47:36 -07:00
2021-11-09 09:39:11 -08:00
2024-11-18 09:41:24 +09:00
2025-01-15 14:43:36 -08:00
2020-11-01 15:54:14 -08:00
2020-11-01 15:54:14 -08:00
2022-10-25 15:44:19 -07:00
2021-10-15 10:29:11 -07:00
2021-10-15 10:16:57 -07:00
2022-08-04 14:12:23 -07:00
2024-06-06 08:20:51 -07:00
2024-12-27 08:28:12 -08:00
2020-03-29 09:25:38 -07:00
2023-05-10 10:23:29 -07:00
2023-12-15 14:08:28 -08:00
2021-08-05 15:35:02 -07:00
2024-12-27 08:28:12 -08:00
2024-04-18 14:55:09 -07:00
2024-03-27 09:24:35 -07:00
2023-07-31 09:11:04 -07:00
2024-03-25 16:16:35 -07:00
2023-10-09 12:06:29 -07:00
2024-10-09 16:59:01 -07:00
2020-09-18 15:41:56 -07:00
2024-02-07 08:28:37 -08:00
2022-08-03 13:57:25 -07:00
2020-07-08 22:08:54 -07:00
2024-12-13 07:33:46 -08:00
2024-07-25 08:50:09 -07:00
2023-05-23 17:21:47 +09:00
2024-09-06 14:13:48 -07:00
2025-01-15 14:43:36 -08:00
2024-12-28 10:11:42 -08:00
2023-10-09 12:06:44 -07:00
2023-12-26 11:06:55 -08:00
2023-10-09 12:06:29 -07:00
2024-09-24 10:20:26 -07:00
2024-03-12 13:32:11 -07:00