martinvonz / jj

A Git-compatible VCS that is both simple and powerful
https://martinvonz.github.io/jj/
Apache License 2.0
8.32k stars 284 forks source link

cli: file: sort subcommands chronologically #3910

Closed yuja closed 3 months ago

yuja commented 3 months ago

Otherwise they wouldn't be sorted in help. I also reordered the match statement. Since subcommands are split to per-file modules, there's no point to keep some logical ordering.

Checklist

If applicable:

arxanas commented 3 months ago

Oops, maybe it was on auto-merge

yuja commented 3 months ago

"Chronologically" means "time-based"; do you mean "alphabetically" or "lexicographically"?

Right, I meant "lexicographically", sorry.