aboutsummaryrefslogtreecommitdiffstats
path: root/refs.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-06-13 12:29:45 -0700
committerJunio C Hamano <gitster@pobox.com>2023-06-13 12:29:45 -0700
commitcbc882ea388143bd6bbed139f97f67589777be60 (patch)
tree31f750427a978f17391c2be83e836d28b25fdee0 /refs.c
parentMerge branch 'sa/doc-ls-remote' (diff)
parentpack-refs: teach pack-refs --include option (diff)
downloadgit-cbc882ea388143bd6bbed139f97f67589777be60.tar.gz
git-cbc882ea388143bd6bbed139f97f67589777be60.zip
Merge branch 'jc/pack-ref-exclude-include'
"git pack-refs" learns "--include" and "--exclude" to tweak the ref hierarchy to be packed using pattern matching. * jc/pack-ref-exclude-include: pack-refs: teach pack-refs --include option pack-refs: teach --exclude option to exclude refs from being packed docs: clarify git-pack-refs --all will pack all refs
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/refs.c b/refs.c
index d2a98e1c21..881a0da65c 100644
--- a/refs.c
+++ b/refs.c
@@ -2132,9 +2132,9 @@ void base_ref_store_init(struct ref_store *refs, struct repository *repo,
}
/* backend functions */
-int refs_pack_refs(struct ref_store *refs, unsigned int flags)
+int refs_pack_refs(struct ref_store *refs, struct pack_refs_opts *opts)
{
- return refs->be->pack_refs(refs, flags);
+ return refs->be->pack_refs(refs, opts);
}
int peel_iterated_oid(const struct object_id *base, struct object_id *peeled)