Sort branches by name for content assist
commit9dc02d0b641a4c2d2a06578acc8a32dfebddcef5
authorMichael Keppler <Michael.Keppler@gmx.de>
Sat, 25 Feb 2017 10:32:58 +0000 (25 11:32 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sat, 11 Mar 2017 21:55:05 +0000 (11 22:55 +0100)
treeff1dc8a27d1f3b0023d76a394bf0f10f3bb19bc1
parent6179a9b8865d6f2c3bd842f2be4d0a4751a4e930
Sort branches by name for content assist

I recently noticed that auto completion for branch names (e.g. in the
push branch wizard) lists them in a non recognizable order. This changes
the content assist list to be sorted by name, similarly like branches
are already sorted by name in tree views.

I have not run UI tests for this change, since local egit tests
generally tend to be red, even on origin/master.

Change-Id: I964f3dd04511837d43764ba6f1cf2be663e234e3
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RefContentAssistProvider.java