]> source.dussan.org Git - jgit.git/commit
Fix processing of gitignore negations 86/117186/10
authorMarc Strapetz <marc.strapetz@syntevo.com>
Fri, 23 Feb 2018 12:34:23 +0000 (13:34 +0100)
committerMarc Strapetz <marc.strapetz@syntevo.com>
Fri, 23 Feb 2018 12:36:48 +0000 (13:36 +0100)
commit78420b7d0a65d591d00f32675efb0a42cda6c84a
tree01dc25fc81bc3c35b72e975b37ea18ba5a9b6398
parent152d5e2a14f2c03d55776154f67fab3f408a57e0
Fix processing of gitignore negations

Processing of negated rules, like !bin/ was not working correctly: they
were interpreted too broad, resulting in unexpected untracked files
which should actually be ignored

Bug: 409664
Change-Id: I0a422fd6607941461bf2175c9105a0311612efa0
Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/ignore/CGitIgnoreTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/ignore/IgnoreNodeTest.java
org.eclipse.jgit/src/org/eclipse/jgit/ignore/IgnoreNode.java
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java