]> git.ipfire.org Git - thirdparty/git.git/commit
refs: remove functions without ref store
authorPatrick Steinhardt <ps@pks.im>
Tue, 7 May 2024 07:11:58 +0000 (09:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 May 2024 17:06:59 +0000 (10:06 -0700)
commitc8f815c2083c4b340d4148a15d45c55f2fcc7d3f
tree01d6649e79f0fa40a9859c5fab1df7e513af9a65
parent2e5c4758b75f7cbae612c89b177aa045fa4f9c68
refs: remove functions without ref store

The preceding commit has rewritten all callers of ref-related functions
to use the equivalents that accept a `struct ref_store`. Consequently,
the respective variants without the ref store are now unused. Remove
them.

There are likely patch series in-flight that use the now-removed
functions. To help the authors, the old implementations have been added
to "refs.c" in an ifdef'd section as a reference for how to migrate each
of the respective callers.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs.h