aboutsummaryrefslogtreecommitdiff
path: root/refs/packed-backend.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/packed-backend.c
parentebd07c9f7e5d56fbe9d5816db95ecf137ed447ea (diff)
parent4fe42f326e10a547dc65dfe9e5ceaeeee02b98db (diff)
downloadgit-cbc882ea388143bd6bbed139f97f67589777be60.tar.xz
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/packed-backend.c')
-rw-r--r--refs/packed-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs/packed-backend.c b/refs/packed-backend.c
index 5b412a133b..291e53f5cf 100644
--- a/refs/packed-backend.c
+++ b/refs/packed-backend.c
@@ -1577,7 +1577,7 @@ static int packed_delete_refs(struct ref_store *ref_store, const char *msg,
}
static int packed_pack_refs(struct ref_store *ref_store UNUSED,
- unsigned int flags UNUSED)
+ struct pack_refs_opts *pack_opts UNUSED)
{
/*
* Packed refs are already packed. It might be that loose refs