git/refs
Patrick Steinhardt 080b068ffb refs/files: stop using `the_repository` in `parse_loose_ref_contents()`
We implicitly rely on `the_repository` in `parse_loose_ref_contents()`
by calling `parse_oid_hex()`. Convert the function to instead use
`parse_oid_hex_algop()` and have callers pass in the hash algorithm to
use.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-07-30 13:41:23 -07:00
..
debug.c Merge branch 'ps/refs-without-the-repository-updates' 2024-05-30 14:15:13 -07:00
files-backend.c refs/files: stop using `the_repository` in `parse_loose_ref_contents()` 2024-07-30 13:41:23 -07:00
iterator.c refs: convert iteration over replace refs to accept ref store 2024-05-17 10:33:38 -07:00
packed-backend.c global: introduce `USE_THE_REPOSITORY_VARIABLE` macro 2024-06-14 10:26:33 -07:00
packed-backend.h refs: adjust names for `init` and `init_db` callbacks 2024-05-17 10:33:36 -07:00
ref-cache.c refs/files: fix NULL pointer deref when releasing ref store 2024-06-06 09:04:32 -07:00
ref-cache.h hash-ll: merge with "hash.h" 2024-06-14 10:26:33 -07:00
refs-internal.h refs/files: stop using `the_repository` in `parse_loose_ref_contents()` 2024-07-30 13:41:23 -07:00
reftable-backend.c Merge branch 'ps/use-the-repository' 2024-07-02 09:59:00 -07:00