Closed cohml closed 6 months ago
That's a bug! Thanks for filing an issue. They're supposed to be alphabetically sorted.
Okay, so this is actually expected behavior. They are sorted first by name, but then by status.
However, I'm contemplated whether or not this is good default behavior. I could totally see why users would expect it to be in raw alphabetical order. I believe the solution is to add a new display mode (e.g. standard-alphabetical
) that keeps backwards compatibility in mind.
Thanks for investigating. I agree that both display modes could be useful in certain scenarios. +1 for making it configurable.
Available with version 4.5.0
With
--display-mode=classic
, the entries in the output are in alphabetical order (by path).But with
--display-mode=standard
, it seems like the order is random - neither by path nor by repo name.This can make it hard to scan efficiently when there are many entries, such as in the output above.
So if
standard
could be alphabetical likeclassic
(though ideally by repo name, since that is the emphasized element), it would be a nice UX improvement.