Patrick Steinhardt
8e9a1d0dc2
t/helper: fix segfault in "oid-array" command without repository
...
The "oid-array" test helper can supposedly work without a Git
repository, but will in fact crash because `the_repository->hash_algo`
is not initialized. This is because `oid_pos()`, which is used by
`oid_array_lookup()`, depends on `the_hash_algo->rawsz`.
Ideally, we'd adapt `oid_pos()` to not depend on `the_hash_algo`
anymore. That is a bigger untertaking though, so instead we fall back to
SHA1 when there is no repository.
Signed-off-by: Patrick Steinhardt <ps@pks.im >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2024-06-14 10:26:34 -07:00
..
2023-03-21 10:56:54 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2023-12-26 12:04:31 -08:00
2024-06-14 10:26:33 -07:00
2023-04-14 10:27:52 -07:00
2023-06-28 14:06:40 -07:00
2024-04-05 15:21:14 -07:00
2023-10-02 14:57:40 -07:00
2023-07-05 11:41:59 -07:00
2023-03-28 14:11:24 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2023-09-29 15:14:57 -07:00
2024-05-06 14:06:34 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2023-03-21 10:56:51 -07:00
2023-04-24 16:01:28 -07:00
2023-03-28 14:11:24 -07:00
2023-04-24 16:01:28 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2023-04-24 12:47:33 -07:00
2024-06-14 10:26:34 -07:00
2024-06-14 10:26:33 -07:00
2023-03-28 14:11:24 -07:00
2024-06-14 10:26:33 -07:00
2023-10-29 09:15:18 +09:00
2023-03-21 10:56:51 -07:00
2024-06-14 10:26:34 -07:00
2024-05-24 16:57:43 -07:00
2024-02-08 16:22:11 -08:00
2023-03-21 10:56:54 -07:00
2023-03-21 10:56:51 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-12 13:37:14 -07:00
2023-11-26 10:07:05 +09:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-05-06 14:06:34 -07:00
2024-06-14 10:26:33 -07:00
2023-03-21 10:56:54 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2023-03-28 14:11:24 -07:00
2023-12-26 12:04:31 -08:00
2023-05-09 16:45:46 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2023-03-21 10:56:54 -07:00
2024-06-13 09:39:46 -07:00
2024-06-13 09:39:46 -07:00
2024-06-14 10:26:33 -07:00
2023-10-13 13:33:35 -07:00
2023-06-28 14:06:39 -07:00
2023-06-21 13:39:54 -07:00
2024-06-14 10:26:33 -07:00
2023-03-28 14:11:24 -07:00