diff options
| author | Karthik Nayak <karthik.188@gmail.com> | 2025-10-20 10:18:30 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-04 07:35:12 -0800 |
| commit | 2cd99d984122f7f1cd7c3b153ee0a0d566831b30 (patch) | |
| tree | 60a280233ea75004cfec291766755959ea0f56e3 /refs/packed-backend.c | |
| parent | 9b93ab8a9c61c53b3b9b2b3ba60c3e5d66b8ff56 (diff) | |
| download | git-2cd99d984122f7f1cd7c3b153ee0a0d566831b30.tar.xz | |
refs: rename 'pack_refs_opts' to 'refs_optimize_opts'
The previous commit removed all references to 'pack_refs()' within
the refs subsystem. Continue this cleanup by also renaming
'pack_refs_opts' to 'refs_optimize_opts' and the respective flags
accordingly. Keeping the naming consistent will make the code easier to
maintain.
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/packed-backend.c')
| -rw-r--r-- | refs/packed-backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/refs/packed-backend.c b/refs/packed-backend.c index 20cf9fab18..10062fd8b6 100644 --- a/refs/packed-backend.c +++ b/refs/packed-backend.c @@ -1774,7 +1774,7 @@ cleanup: } static int packed_optimize(struct ref_store *ref_store UNUSED, - struct pack_refs_opts *pack_opts UNUSED) + struct refs_optimize_opts *opts UNUSED) { /* * Packed refs are already packed. It might be that loose refs |
