]> git.99rst.org Git - git.git/commit
oidset: pass hash algorithm when parsing file
authorPatrick Steinhardt <redacted>
Fri, 14 Jun 2024 06:50:42 +0000 (08:50 +0200)
committerJunio C Hamano <redacted>
Fri, 14 Jun 2024 17:26:34 +0000 (10:26 -0700)
commitf2c32a66f508586a9233dc6eac27bc4689e67dc1
tree8a57762d12afdd00dba82baf70ad801d1be96a0c
parentafa2c6ddc88db766d16d471aa12b5db6bac39158
oidset: pass hash algorithm when parsing file

The `oidset_parse_file_carefully()` function implicitly depends on
`the_repository` when parsing object IDs. Fix this by having callers
pass in the hash algorithm to use.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/blame.c
fsck.c
oidset.c
oidset.h
git clone https://git.99rst.org/PROJECT