зеркало из https://github.com/microsoft/git.git
t: make test-bloom initialize repository
The bloom filter code relies on reading object IDs using parse_oid_hex. In order to make that work with an appropriate size, we need to have initialized the repository's hash algorithm. Since the values we're processing depend on the repository in use, let's set up the repository when we run the test helper. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Reviewed-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
3ddac3d691
Коммит
094a685cd7
|
@ -50,6 +50,8 @@ static const char *bloom_usage = "\n"
|
|||
|
||||
int cmd__bloom(int argc, const char **argv)
|
||||
{
|
||||
setup_git_directory();
|
||||
|
||||
if (argc < 2)
|
||||
usage(bloom_usage);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче