[staging] Support wildcard filter
commitc47f1d655a790679cf1bc037b45883d7a667ea2e
authorMichael Keppler <Michael.Keppler@gmx.de>
Sat, 31 Mar 2018 18:34:21 +0000 (31 20:34 +0200)
committerThomas Wolf <thomas.wolf@paranor.ch>
Sun, 1 Apr 2018 20:18:57 +0000 (1 16:18 -0400)
tree6cca9952046a387115b070dec30cf1a8371f7a2a
parent90791a6c117bad0380253eb513c15545e70129dd
[staging] Support wildcard filter

This adds support for the "*" as wildcard character in the staging view
filter. On change of the filter input it gets converted to a compiled
regex pattern, such that repeated filtering calls in the staged changes
list do not lead to re-compilation.

Change-Id: I6b644687faa500ec7b2975875e02c35152563b5b
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Bug: 510132
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingViewContentProvider.java