aboutsummaryrefslogtreecommitdiffstats
path: root/refs/debug.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/debug.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/debug.c')
-rw-r--r--refs/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/refs/debug.c b/refs/debug.c
index 6f11e6de46..c0fa707a1d 100644
--- a/refs/debug.c
+++ b/refs/debug.c
@@ -123,10 +123,10 @@ static int debug_initial_transaction_commit(struct ref_store *refs,
return res;
}
-static int debug_pack_refs(struct ref_store *ref_store, unsigned int flags)
+static int debug_pack_refs(struct ref_store *ref_store, struct pack_refs_opts *opts)
{
struct debug_ref_store *drefs = (struct debug_ref_store *)ref_store;
- int res = drefs->refs->be->pack_refs(drefs->refs, flags);
+ int res = drefs->refs->be->pack_refs(drefs->refs, opts);
trace_printf_key(&trace_refs, "pack_refs: %d\n", res);
return res;
}