summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-06-14 08:51:00 +0200
committerJunio C Hamano <gitster@pobox.com>2024-06-14 10:26:34 -0700
commitfa9e009aa74a2393067eb417d9eab3490d295fc8 (patch)
treeb1385580aa5cedc20584abdee06856dbb1ae8d2b /diff.c
parent2a0e11479f2e272236d56c38b5261944ef16fbbc (diff)
t/helper: use correct object hash in partial-clone helper
The `object_info()` function of the partial-clone helper is responsible for checking the object ID of a repository other than `the_repository`. We use `parse_oid_hex()` in this function though, which means that we still depend on `the_repository->hash_algo`. Fix this by using the object hash of the function-local repository. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions