]> source.dussan.org Git - jgit.git/commit
Fix false positives in hashing used by PathFilterGroup 95/10495/4
authorRobin Stocker <robin@nibor.org>
Tue, 19 Feb 2013 22:41:15 +0000 (23:41 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 19 Feb 2013 23:37:57 +0000 (00:37 +0100)
commit5d7b722f6e20232a5e03d76f10c5c9554ab754a9
tree653298d6aee06126afe545bc0b32ec2d344fa19d
parent9a5f4b46ccac22dd3dec8205ab50ec84f495db2f
Fix false positives in hashing used by PathFilterGroup

The ByteArraySet failed to check the length of the entry correctly leading
to matches where no match should be.

Bug: 401249
Change-Id: I925bc48d9cafcdf13e1a797bb09fc2555eb270c5
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/treewalk/filter/PathFilterGroupTest.java
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ByteArraySet.java