Patrick Steinhardt
40e9136ff6
test-bloom: stop setting up Git directory twice
...
We're setting up the Git directory twice in the `test-tool bloom`
helper, once at the beginning of `cmd_bloom()` and once in the local
subcommand implementation `get_bloom_filter_for_commit()`. This can lead
to memory leaks as we'll overwrite variables of `the_repository` with
newly allocated data structures. On top of that it's simply unnecessary.
Fix this by only setting up the Git directory once.
Signed-off-by: Patrick Steinhardt <ps@pks.im >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2023-11-07 08:51:40 +09:00
..
2023-03-21 10:56:54 -07:00
2023-03-21 10:56:54 -07:00
2023-11-07 08:51:40 +09:00
2023-03-21 10:56:50 -07:00
2023-06-21 13:39:53 -07:00
2023-04-14 10:27:52 -07:00
2023-06-28 14:06:40 -07:00
2023-02-23 17:25:28 -08:00
2022-01-17 14:17:48 -08:00
2023-05-10 10:23:27 -07:00
2023-04-25 13:56:20 -07:00
2023-07-05 11:41:59 -07:00
2023-02-16 16:21:56 -08:00
2023-03-28 14:11:24 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-07-13 17:24:00 -07:00
2023-06-21 13:39:53 -07:00
2023-01-14 18:07:11 -08:00
2023-10-05 14:54:55 -07:00
2022-12-14 15:55:46 +09:00
2023-06-21 13:39:53 -07:00
2023-07-05 11:41:59 -07:00
2023-02-16 08:30:38 -08:00
2023-06-21 13:39:53 -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-06-21 13:39:53 -07:00
2023-04-24 16:01:28 -07:00
2023-06-21 13:39:53 -07:00
2023-05-09 16:45:46 -07:00
2023-04-24 12:47:33 -07:00
2023-07-13 17:24:00 -07:00
2023-05-09 16:45:46 -07:00
2023-05-09 16:45:46 -07:00
2023-03-28 14:11:24 -07:00
2023-06-21 13:39:54 -07:00
2023-07-19 16:30:06 -07:00
2023-03-21 10:56:51 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:53 -07:00
2023-02-23 17:25:28 -08:00
2023-03-21 10:56:54 -07:00
2023-03-28 14:11:24 -07:00
2023-03-21 10:56:54 -07:00
2023-03-21 10:56:51 -07:00
2023-07-21 13:47:26 -07:00
2023-07-05 11:41:59 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:54 -07:00
2023-07-25 12:05:24 -07:00
2023-04-24 12:47:33 -07:00
2022-07-01 13:38:50 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:53 -07:00
2022-08-14 22:57:12 -07:00
2023-03-21 10:56:51 -07:00
2023-06-21 13:39:53 -07:00
2023-03-21 10:56:54 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-03-28 14:11:24 -07:00
2023-02-23 17:25:28 -08:00
2023-06-21 13:39:53 -07:00
2023-05-09 16:45:46 -07:00
2023-05-09 16:45:46 -07:00
2023-04-24 12:47:32 -07:00
2023-05-09 16:45:46 -07:00
2023-03-21 10:56:54 -07:00
2022-09-02 09:16:23 -07:00
2023-01-14 18:07:11 -08:00
2023-01-14 18:07:11 -08:00
2023-05-09 16:45:46 -07:00
2022-07-01 13:38:49 -07:00
2023-06-28 14:06:39 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:53 -07:00
2023-03-28 14:11:24 -07:00