]> source.dussan.org Git - jgit.git/commit
Fix IgnoreRule#isMatch returning wrong result due to missing reset 71/19271/1
authorRobin Stocker <robin@nibor.org>
Tue, 3 Dec 2013 21:25:40 +0000 (22:25 +0100)
committerRobin Stocker <robin@nibor.org>
Tue, 3 Dec 2013 21:30:14 +0000 (22:30 +0100)
commitf4dae204a6a2a1a85e8a90a5e89187f3415099e3
tree9f239f3ceb3135fe4aca3f100d3c43b1cefc6aba
parent7dc8a4f089c1ca4762cf6fbf2e77898607a5820a
Fix IgnoreRule#isMatch returning wrong result due to missing reset

The matcher has to be reset before using it, as was already done in the
other cases.

Bug: 423039
Change-Id: I87abaa7ad7f0aac8651db6e88d41427cacb4d776
Also-by: Ondrej Vrabec <ovrabec@netbeans.org>
Signed-off-by: Robin Stocker <robin@nibor.org>
org.eclipse.jgit.test/tst/org/eclipse/jgit/ignore/IgnoreMatcherTest.java
org.eclipse.jgit/src/org/eclipse/jgit/ignore/IgnoreRule.java