Community
Participate
Working Groups
Bug 442238 dealt with sorting tags better than lexicographically. This is a spin-off of Bug 540003 where inverse sorting was suggested. Usually the latest tags will be of interest and if there are many tags those are at the very end of the Tags-subtree. Being able to invert (and maybe prune) the list of tags might improve readability. The alternative sorting could be implemented using a sortOnly navigatorContent or a flag interpreted by the existing sorter. The pruning (show only the last x tags) is a more debatable feature. I want to at least mention it for discussion. You can control how many local branches there are, which remote branches you track, but currently you are helpless when it comes to repositories with dozens of branches...
+1 for sorting tags descending so that the highest version is at the top I think this should be the default since the most recent releases are typically the ones which are most interesting
New Gerrit change created: https://git.eclipse.org/r/138435
New Gerrit change created: https://git.eclipse.org/r/138436
One review comment in https://git.eclipse.org/r/#/c/138436/ raises the question whether to use the same sorting order in all places where a list of tags is shown. The suggestion is to store the toggle state as preference value without actually showing it on the preference page. I guess, there is a strong argument for consistency - sorting the same way everywhere. I'll have to do more example digging in order to do the implementation... (If you don't like the new sorting default, it is quite easy to restore, but without having the entry in the preference view, you can't use Oomph's preference recorder. You'd have to know the ID to write the preference task by hand.)
I am inclined to withdraw the request/proposed change. An overall consistent sorting seems to involve enormous work as in some cases the type of the sorted string (tag/branch etc.) is not is not available to the comparator. A best effort apporach is started in patch 3 of https://git.eclipse.org/r/138436
New Gerrit change created: https://git.eclipse.org/r/160160
Gerrit change https://git.eclipse.org/r/160160 was merged to [master]. Commit: http://git.eclipse.org/c/egit/egit.git/commit/?id=65f373e635f306b4f7979d0c400883f6c7b6d616
Tag filtering is in. Alexander, can we close this?
Yes. With the option of filtering tags, changing the sort order becomes obsolete - at least for me. So no change required.
Gerrit change https://git.eclipse.org/r/160532 was merged to [master]. Commit: http://git.eclipse.org/c/egit/egit.git/commit/?id=d081df162a972af1b570f8eae6e99343988d5c2d