aboutsummaryrefslogtreecommitdiffstats
path: root/refs/refs-internal.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-11-08 10:05:34 -0800
committerJunio C Hamano <gitster@pobox.com>2025-11-08 10:05:34 -0800
commit8802bd6cf2e44e091440a1a6eb48873a147fcf5b (patch)
tree26686d8e87fafd4dd00b9c76fea6ab8b01a57dba /refs/refs-internal.h
parentMerge branch 'ps/ref-peeled-tags' into jch (diff)
parentt/pack-refs-tests: move the 'test_done' to callees (diff)
downloadgit-8802bd6cf2e44e091440a1a6eb48873a147fcf5b.tar.gz
git-8802bd6cf2e44e091440a1a6eb48873a147fcf5b.zip
Merge branch 'kn/refs-optim-cleanup' into jch
Code clean-up. * kn/refs-optim-cleanup: t/pack-refs-tests: move the 'test_done' to callees refs: rename 'pack_refs_opts' to 'refs_optimize_opts' refs: move to using the '.optimize' functions
Diffstat (limited to 'refs/refs-internal.h')
-rw-r--r--refs/refs-internal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 4671517dad..dee42f231d 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -422,10 +422,8 @@ typedef int ref_transaction_commit_fn(struct ref_store *refs,
struct ref_transaction *transaction,
struct strbuf *err);
-typedef int pack_refs_fn(struct ref_store *ref_store,
- struct pack_refs_opts *opts);
typedef int optimize_fn(struct ref_store *ref_store,
- struct pack_refs_opts *opts);
+ struct refs_optimize_opts *opts);
typedef int rename_ref_fn(struct ref_store *ref_store,
const char *oldref, const char *newref,
const char *logmsg);
@@ -550,7 +548,6 @@ struct ref_storage_be {
ref_transaction_finish_fn *transaction_finish;
ref_transaction_abort_fn *transaction_abort;
- pack_refs_fn *pack_refs;
optimize_fn *optimize;
rename_ref_fn *rename_ref;
copy_ref_fn *copy_ref;