Unverified Commit 32810348 by Nelson Elhage Committed by GitHub

Use UINT32_MAX as the default object limit

This replicates the old behavior of limiting to 2³² by default.
parent b3ca817e
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
extern git_mutex git__mwindow_mutex; 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) #define UINT31_MAX (0x7FFFFFFF)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment