Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358154 - Consistent sorting in Git Repositories view
Summary: Consistent sorting in Git Repositories view
Status: VERIFIED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.1   Edit
Hardware: PC Windows 7
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Kevin Sawicki CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-19 14:50 EDT by Markus Keller CLA
Modified: 2011-10-04 04:21 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.