]> source.dussan.org Git - jgit.git/commit
Allow ObjectWalk to be filtered by an arbitrary predicate 38/47938/4
authorJonathan Nieder <jrn@google.com>
Thu, 14 May 2015 23:24:15 +0000 (16:24 -0700)
committerJonathan Nieder <jrn@google.com>
Fri, 15 May 2015 01:43:38 +0000 (18:43 -0700)
commitf2be5bca043f3e8ddfbc8b03fc17ff4a65896045
treeb5818231fbb79536a1ce1a507ac4dc284e0768d1
parent1b18a6e1b661976ea562f1b862b8aac9bcec12d0
Allow ObjectWalk to be filtered by an arbitrary predicate

This will make it possible to declare a collection of objects as
ineligible for the walk en masse, for example if they are known to be
uninteresting via a bitmap.

Change-Id: I637008b25bf9fb57df60ebb2133a70214930546a
Signed-off-by: Jonathan Nieder <jrn@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/ObjectWalk.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/filter/ObjectFilter.java [new file with mode: 0644]