]> source.dussan.org Git - jgit.git/commit
Fix matching ignores and attributes pattern of form a/b/**. 50/100550/8
authorDmitry Pavlenko <pavlenko@tmatesoft.com>
Mon, 3 Jul 2017 12:08:15 +0000 (14:08 +0200)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Mon, 24 Jul 2017 08:16:33 +0000 (09:16 +0100)
commit843e444561d6a2e82777bb553097f792274f53d2
tree19374d880ea0a49987d0d208c021d5464c209cb3
parentba91e8a086e09a792e2d5dab4f9052a62be6a210
Fix matching ignores and attributes pattern of form a/b/**.

Fix patch matching for patterns of form a/b/** : this should not match
paths like a/b but still match a/b/ and a/b/c.

Change-Id: Iacbf496a43f01312e7d9052f29c3f9c33807c85d
Signed-off-by: Dmitry Pavlenko <pavlenko@tmatesoft.com>
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/attributes/AttributesNodeTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/ignore/FastIgnoreRuleTest.java
org.eclipse.jgit/src/org/eclipse/jgit/ignore/internal/PathMatcher.java