git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-commit.txt: Order options alphabetically

From
Jan Krüger <jk@jk.gs>
Date
Dec 2, 2010, 08:53 UTC
Message-ID
<20101202095324.34237fb2@jk.gs>
In-Reply-To
<87aakpt7uw.fsf@picasso.cante.net>
[Cc un-culled]
--- Jari Aalto <jari.aalto@cante.net> wrote:
> The reader have to guess "imagined groups"? Hm, that's interesting.

Perhaps a more desirable (and agreeable) patch would introduce group subheadings, then? I agree with the majority of people who chimed in here that functional grouping is a good thing. Perhaps we should actually commit to that by having explicit groups.

In rev-list-related options we already have a couple of explicit groups. I think I'd go insane if I ever had to find anything in there without those groups.

> [...] Git's command
> line is inconsistent in many places and there is room for improvement.
> Documentation is one way to spot those.

That seems to be the only reason you've brought forward for alphabetic sorting, except the claim that "people read from top to bottom" (which is essentially true, but I don't think anybody would read, say, a printed dictionary all the way through; the alphabetic ordering there is for being able to index/search the content in the absence of another way to index/search).

In any case, the end user will probably be more often interested in appropriately grouped options than in being able to easily find inconsistencies between various commands.

-Jan
Previous: Jari AaltoNext: Jari Aalto
Message 12 of 22 in “git-commit.txt: Order options alphabetically”
  1. git-commit.txt: Order options alphabeticallyjari.aalto@cante.net, Dec 1, 2010
  2. Jonathan NiederDec 1, 2010
  3. Jari AaltoDec 1, 2010
  4. Jakub NarebskiDec 1, 2010
  5. Jari AaltoDec 1, 2010
  6. Jakub NarebskiDec 2, 2010
  7. Junio C HamanoDec 1, 2010
  8. Kevin BallardDec 1, 2010
  9. Jari AaltoDec 1, 2010
  10. Kevin BallardDec 1, 2010
  11. Jari AaltoDec 1, 2010
  12. Jan KrügerDec 2, 2010
  13. Jari AaltoDec 2, 2010
  14. Jakub NarebskiDec 2, 2010
  15. Jan KrügerDec 2, 2010
  16. Jari AaltoDec 1, 2010
  17. Kevin BallardDec 1, 2010
  18. Jari AaltoDec 1, 2010
  19. Kevin BallardDec 1, 2010
  20. Jari AaltoDec 2, 2010
  21. Erik Faye-LundDec 3, 2010
  22. Nguyen Thai Ngoc DuyDec 3, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.