aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Arès <hugo.ares@ericsson.com>2016-06-15 15:14:06 -0400
committerHugo Arès <hugo.ares@ericsson.com>2016-06-27 08:59:17 -0400
commit7a6582c09c4ded97444e31c690293fc5df69114b (patch)
treed47bd6ce1777e463f26366d7fcf09a24efccfde1
parent80cd8554435bdc311d9303677f0796554e5a2dbe (diff)
downloadjgit-7a6582c09c4ded97444e31c690293fc5df69114b.tar.gz
jgit-7a6582c09c4ded97444e31c690293fc5df69114b.zip
Align include.path max depth with native git
Change-Id: I52f059816e1d94b2d60d096e3013bf4095cd0fc4 Signed-off-by: Hugo Arès <hugo.ares@ericsson.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java
index 6592823da7..b32e5d1668 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java
@@ -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();