indexer.c
31.3 KB
-
indexer: check return code of `git_hash_ctx_init` · 90450d88
Initialization of the hashing context may fail on some systems, most notably on Win32 via the legacy hashing context. As such, we need to always check the error code of `git_hash_ctx_init`, which is not done when creating a new indexer. Fix the issue by adding checks.
Patrick Steinhardt committed