Use substring matches in filter in AbstractBranchSelectionDialog
commit713c46f7c0f4c2e37cfa175a08cb54e9fbdf6620
authorThomas Wolf <thomas.wolf@paranor.ch>
Wed, 11 Apr 2018 22:26:37 +0000 (12 00:26 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 19 Apr 2018 22:46:09 +0000 (20 00:46 +0200)
tree2f0a382268779f787e6e97a87923f40e7d589c29
parent928d731a204171bbcad89516efd39b6373b77b72
Use substring matches in filter in AbstractBranchSelectionDialog

Using prefix matches gives strange results due to the PatternFilter's
word-based matching algorithm. Including a leading wildcard turns
the algorithm into a simple substring match, which gives more intuitive
results.

Bug: 533477
Change-Id: I8b3df49d071a1145898e93dfaa457637f2dba28c
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/AbstractBranchSelectionDialog.java