Use UINT32_MAX as the default object limit This replicates the old behavior of limiting to 2³² by default.
diff --git a/src/indexer.c b/src/indexer.c
index 2315320..4f0c5ca 100644
--- a/src/indexer.c
+++ b/src/indexer.c
@@ -22,7 +22,7 @@
extern git_mutex git__mwindow_mutex;
-size_t git_indexer__max_objects = (size_t)-1;
+size_t git_indexer__max_objects = UINT32_MAX;
#define UINT31_MAX (0x7FFFFFFF)