]> git.ipfire.org Git - thirdparty/git.git/commit
refs: rename 'pack_refs_opts' to 'refs_optimize_opts'
authorKarthik Nayak <karthik.188@gmail.com>
Mon, 20 Oct 2025 08:18:30 +0000 (10:18 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Nov 2025 15:35:12 +0000 (07:35 -0800)
commit2cd99d984122f7f1cd7c3b153ee0a0d566831b30
tree60a280233ea75004cfec291766755959ea0f56e3
parent9b93ab8a9c61c53b3b9b2b3ba60c3e5d66b8ff56
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>
pack-refs.c
refs.c
refs.h
refs/debug.c
refs/files-backend.c
refs/packed-backend.c
refs/refs-internal.h
refs/reftable-backend.c