]> source.dussan.org Git - jgit.git/commitdiff
Align include.path max depth with native git 47/75347/3
authorHugo Arès <hugo.ares@ericsson.com>
Wed, 15 Jun 2016 19:14:06 +0000 (15:14 -0400)
committerHugo Arès <hugo.ares@ericsson.com>
Mon, 27 Jun 2016 12:59:17 +0000 (08:59 -0400)
Change-Id: I52f059816e1d94b2d60d096e3013bf4095cd0fc4
Signed-off-by: Hugo Arès <hugo.ares@ericsson.com>
org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java

index 6592823da70926f6bf924857080df7655e27b8c5..b32e5d166842509dcc202af12020628b59ce76ad 100644 (file)
@@ -80,7 +80,7 @@ public class Config {
        private static final long KiB = 1024;
        private static final long MiB = 1024 * KiB;
        private static final long GiB = 1024 * MiB;
-       private static final int MAX_DEPTH = 999;
+       private static final int MAX_DEPTH = 10;
 
        /** the change listeners */
        private final ListenerList listeners = new ListenerList();