mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
Correct max_packsize default in fast-import.
Apparently amd64 has defined 'unsigned long' to be a 64 bit value, which means -1 was way over the 4 GiB packfile limit. Whoops. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
0fcbcae753
commit
eec11c2484
|
@ -217,7 +217,7 @@ struct hash_list
|
|||
|
||||
/* Configured limits on output */
|
||||
static unsigned long max_depth = 10;
|
||||
static unsigned long max_packsize = -1;
|
||||
static unsigned long max_packsize = (1LL << 32) - 1;
|
||||
static uintmax_t max_objects = -1;
|
||||
|
||||
/* Stats and misc. counters */
|
||||
|
|
Loading…
Reference in a new issue