diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-06-14 08:50:51 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-14 10:26:34 -0700 |
| commit | 99cf4d6d35c7e98dde958e75ff39cd01f2088506 (patch) | |
| tree | 0010a59a311b2586b7409dd16dc78d141e348749 /t/helper/test-oid-array.c | |
| parent | protocol-caps: use hash algorithm from passed-in repository (diff) | |
| download | git-99cf4d6d35c7e98dde958e75ff39cd01f2088506.tar.gz git-99cf4d6d35c7e98dde958e75ff39cd01f2088506.zip | |
replace-object: use hash algorithm from passed-in repository
In `register_replace_ref()`, we pass in a repository but then use
`get_oid_hex()` to parse passed-in object IDs, which implicitly uses
`the_repository`. Fix this by using the hash algorithm from the
passed-in repository instead.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-oid-array.c')
0 files changed, 0 insertions, 0 deletions
