diff options
author | Dariusz Luksza <dariusz@luksza.org> | 2011-08-17 12:43:35 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2011-08-17 12:43:35 +0200 |
commit | 679cab9b3297e550a9ae04b88ba839dc9eb84957 (patch) | |
tree | 15ef803c3e8591f1fbbff74f84988e3746b788fe /org.eclipse.jgit.test/META-INF | |
parent | 100e9429b5a7eea8383c6e693d17b6233794c488 (diff) | |
download | jgit-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.MF | 3 |
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 |