]> source.dussan.org Git - jgit.git/commit
Define a tree filter for user-visible changes between two indexes 37/9437/5
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 3 Jan 2013 23:24:48 +0000 (00:24 +0100)
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>
Wed, 16 Jan 2013 00:13:46 +0000 (19:13 -0500)
commit5213f6e2e8be5495c7a57617adca0e30592d59b7
tree77d3012e7cdeea9de9078aca7866491834d1b95a
parent3f0176aea6e77cb39be35f091100f8874693593d
Define a tree filter for user-visible changes between two indexes

The primary purpose of the filter is to detect an index change that
could possibly lead to a change in what files are visible in the staging
view and decorations. Besides what TreeFilter.ANY_DIFF does for trees in
general, this filter also looks at the assume-valid (CE_VALID) flag to
see whether changes should be ignored or not.

Change-Id: I13e9ed4ae62dc3851204fba598239edce07ca977
org.eclipse.jgit.test/tst/org/eclipse/jgit/treewalk/filter/InterIndexDiffFilterTest.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/InterIndexDiffFilter.java [new file with mode: 0644]