]> source.dussan.org Git - jgit.git/commit
Revert "Stop PathFilter after walking all matching paths" 13/9413/1
authorShawn Pearce <sop@google.com>
Tue, 1 Jan 2013 17:25:26 +0000 (12:25 -0500)
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>
Tue, 1 Jan 2013 17:25:26 +0000 (12:25 -0500)
commit0b6387fe7c575b40578a8478392eb1cf35f8a136
tree7882b0f84e588e550f1f74a0a5b9ae6fbe344719
parent75eb6a147ffa8089e48d409f0215a16c755305e7
Revert "Stop PathFilter after walking all matching paths"

This reverts commit 75eb6a147ffa8089e48d409f0215a16c755305e7.
Applications that want a PathFilter to abort the walk early should be
using PathFilterGroup. When a PathFilterGroup is created with exactly
one path its implementation is the same that 75eb6 tried to perform,
but has been long documented as having the behavior of breaking a
higher level OR filter graph node.

Change-Id: I6c85d75c474784471c32e866eef3402b9f193c08
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/PathFilter.java