]> git.ipfire.org Git - thirdparty/git.git/blobdiff - repository.c
strmap: enable allocations to come from a mem_pool
[thirdparty/git.git] / repository.c
index 6f7f6f002b1a45faa52305ca8c370e2e959b2f5e..a4174ddb0629cdd690142fb42c5d4182492485c4 100644 (file)
@@ -89,10 +89,6 @@ void repo_set_gitdir(struct repository *repo,
 void repo_set_hash_algo(struct repository *repo, int hash_algo)
 {
        repo->hash_algo = &hash_algos[hash_algo];
-#ifndef ENABLE_SHA256
-       if (hash_algo != GIT_HASH_SHA1)
-               die(_("The hash algorithm %s is not supported in this build."), repo->hash_algo->name);
-#endif
 }
 
 /*