diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-11-08 10:05:34 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-08 10:05:34 -0800 |
| commit | 8802bd6cf2e44e091440a1a6eb48873a147fcf5b (patch) | |
| tree | 26686d8e87fafd4dd00b9c76fea6ab8b01a57dba /refs.c | |
| parent | Merge branch 'ps/ref-peeled-tags' into jch (diff) | |
| parent | t/pack-refs-tests: move the 'test_done' to callees (diff) | |
| download | git-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.c')
| -rw-r--r-- | refs.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -2313,13 +2313,7 @@ void base_ref_store_init(struct ref_store *refs, struct repository *repo, refs->gitdir = xstrdup(path); } -/* backend functions */ -int refs_pack_refs(struct ref_store *refs, struct pack_refs_opts *opts) -{ - return refs->be->pack_refs(refs, opts); -} - -int refs_optimize(struct ref_store *refs, struct pack_refs_opts *opts) +int refs_optimize(struct ref_store *refs, struct refs_optimize_opts *opts) { return refs->be->optimize(refs, opts); } |
