summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/META-INF
diff options
context:
space:
mode:
authorDariusz Luksza <dariusz@luksza.org>2011-08-17 12:43:35 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2011-08-17 12:43:35 +0200
commit679cab9b3297e550a9ae04b88ba839dc9eb84957 (patch)
tree15ef803c3e8591f1fbbff74f84988e3746b788fe /org.eclipse.jgit.test/META-INF
parent100e9429b5a7eea8383c6e693d17b6233794c488 (diff)
downloadjgit-679cab9b3297e550a9ae04b88ba839dc9eb84957.tar.gz
jgit-679cab9b3297e550a9ae04b88ba839dc9eb84957.zip
Adds DiffEntry.scan(TreeWalk, boolean) method
Adds method into DiffEntry class that allows to specify whether changed trees are included in scanning result list. By default changed trees aren't added, but in some cases having changed tree would be useful. Also adds check for tree count in TreeWalk and when it is different from two it will thrown an IllegalArgumentException. This change is required by egit I7ddb21e7ff54333dd6d7ace3209bbcf83da2b219 Change-Id: I5a680a73e1cffa18ade3402cc86008f46c1da1f1 Signed-off-by: Dariusz Luksza <dariusz@luksza.org> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.test/META-INF')
-rw-r--r--org.eclipse.jgit.test/META-INF/MANIFEST.MF3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/META-INF/MANIFEST.MF b/org.eclipse.jgit.test/META-INF/MANIFEST.MF
index 85f6c305a7..d7f7ef1b6e 100644
--- a/org.eclipse.jgit.test/META-INF/MANIFEST.MF
+++ b/org.eclipse.jgit.test/META-INF/MANIFEST.MF
@@ -39,7 +39,8 @@ Import-Package: org.eclipse.jgit;version="[1.1.0,1.2.0)",
org.eclipse.jgit.util;version="[1.1.0,1.2.0)",
org.eclipse.jgit.util.io;version="[1.1.0,1.2.0)",
org.junit;version="[4.0.0,5.0.0)",
- org.hamcrest.core;version="[1.1.0,2.0.0)"
+ org.hamcrest.core;version="[1.1.0,2.0.0)",
+ org.hamcrest;version="[1.1.0,2.0.0)"
Require-Bundle: com.jcraft.jsch;bundle-version="[0.1.37,0.2.0)"
Export-Package: org.eclipse.jgit.lib