Commit 7918459e7b2f26835d75b06badcb4c27177fcccd

Stefan Sperling 2018-04-24T13:51:11

increase delta recursion limit; was too low for openbsd git repo

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/got_lib_delta.h b/lib/got_lib_delta.h
index 01e6ece..91fd446 100644
--- a/lib/got_lib_delta.h
+++ b/lib/got_lib_delta.h
@@ -31,7 +31,7 @@ struct got_delta_chain {
 	SIMPLEQ_HEAD(, got_delta) entries;
 };
 
-#define GOT_DELTA_CHAIN_RECURSION_MAX	100
+#define GOT_DELTA_CHAIN_RECURSION_MAX	500
 
 struct got_delta *got_delta_open(const char *, off_t, size_t, int, size_t,
     off_t, uint8_t *, size_t);