Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358154

Summary: Consistent sorting in Git Repositories view
Product: [Technology] EGit Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: Kevin Sawicki <kevin>
Status: VERIFIED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: daniel_megert, matthias.sohn, remy.suen
Version: 1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Markus Keller CLA 2011-09-19 14:50:39 EDT
Latest nightly

Clone repository user@git.eclipse.org:/gitroot/jdt/eclipse.jdt.git .
In the Git Repositories view, open the Working directory.

=> org.eclipse.jdt comes at the beginning and org.eclipse.jdt-feature at the end.

Select the Working directory and choose Import Projects... > Next

=> org.eclipse.jdt and org.eclipse.jdt-feature are at the beginning and the other projects follow. This is the right order that should be used everywhere.

I guess the fix is just a matter of calling
    viewer.setComparator(new ViewerComparator()
on the "Git Repositories" view's viewer.
Comment 1 Kevin Sawicki CLA 2011-09-19 18:11:33 EDT
Proposed fix pushed to: http://egit.eclipse.org/r/#change,4271
Comment 2 Matthias Sohn CLA 2011-09-20 01:22:15 EDT
merged as a140b164de5530123ec376c01603b5249e34cbac
Comment 3 Dani Megert CLA 2011-10-04 04:21:24 EDT
Verified in 1.2.0.201110021920.