]> git.ipfire.org Git - thirdparty/git.git/commit
refs: introduce missing functions that accept a `struct ref_store`
authorPatrick Steinhardt <ps@pks.im>
Tue, 7 May 2024 07:11:39 +0000 (09:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 May 2024 17:06:58 +0000 (10:06 -0700)
commit39a9ef8fc4e7dbcb078369f9c2560ebc69bbbb1d
treee3053a95066336b71b4e4c1b9fb78f0f82ca8bf9
parentd4cc1ec35f3bcce816b69986ca41943f6ce21377
refs: introduce missing functions that accept a `struct ref_store`

While most of the functions in "refs.h" have a variant that accepts a
`struct ref_store`, some don't. Callers of these functions are thus
forced to implicitly rely on `the_repository` to figure out the ref
store that is to be used.

Introduce those missing functions to address this shortcoming.

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