Merge branch 'ps/refs-without-the-repository'
commitbca900904d854babf2493d57c0fee3ab421fe750
authorJunio C Hamano <gitster@pobox.com>
Thu, 16 May 2024 17:10:13 +0000 (16 10:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 May 2024 17:10:14 +0000 (16 10:10 -0700)
treee664fba784c58d391ddf22c32222b0212b670171
parentf0e2183768b1548bcaea9e311bb5a54112c0a9f4
parentc8f815c2083c4b340d4148a15d45c55f2fcc7d3f
Merge branch 'ps/refs-without-the-repository'

The refs API lost functions that implicitly assumes to work on the
primary ref_store by forcing the callers to pass a ref_store as an
argument.

* ps/refs-without-the-repository:
  refs: remove functions without ref store
  cocci: apply rules to rewrite callers of "refs" interfaces
  cocci: introduce rules to transform "refs" to pass ref store
  refs: add `exclude_patterns` parameter to `for_each_fullref_in()`
  refs: introduce missing functions that accept a `struct ref_store`
16 files changed:
builtin/am.c
builtin/checkout.c
builtin/clone.c
builtin/describe.c
builtin/merge.c
builtin/pull.c
builtin/rebase.c
builtin/reset.c
builtin/rev-parse.c
builtin/stash.c
builtin/submodule--helper.c
builtin/tag.c
builtin/update-index.c
config.c
setup.c
submodule.c