diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-06-13 12:29:45 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-06-13 12:29:45 -0700 |
| commit | cbc882ea388143bd6bbed139f97f67589777be60 (patch) | |
| tree | 31f750427a978f17391c2be83e836d28b25fdee0 /refs.c | |
| parent | Merge branch 'sa/doc-ls-remote' (diff) | |
| parent | pack-refs: teach pack-refs --include option (diff) | |
| download | git-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |
