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

Re: de-alphabetizing the documentation

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 13, 2018, 18:17 UTC
Message-ID
<xmqqva8e5dxj.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180811023036.GA19208@ofb.net>
frederik@ofb.net writes:
Show 11 quoted lines
> Hi Jonathan and Git developers,
>
> I poked around today and figured out how to reorder the command
> listings in the manual page, they are taken from git/command-list.txt
> so I just reorder the lines in that file (after disabling sorting in
> git/Documentation/cmd-list.perl).
>
> I haven't reordered the whole list yet. I could only get one computer
> friend to send me his subcommand frequencies from his shell history. I
> reordered the commands partly based on that, and partly based on their
> order of occurrence in the various tutorial man pages.

There are two good things about a list that is alphabetical. One is that you can scan with your eyes and a finger to find what you are looking for more quickly. The other is that it is mechanical so we won't waste time on bickering whose frequency table is more correct, whether frequency table is a good approach to derive a better order (than, say, the order in which the commands appear in an every-day workflow) to begin with.

I would say if we were departing from alphabetical order, we should first declare that we are *not* looking for the best way to order the list, so that people do not waste too much time bikeshedding. Instead what we should aim for is to come up with _an_ order that is not too unreasonable and settle as quickly as we can.

And from that point of view, what I saw in new-git.1.out, I found it not so outrageously unreasonable ;-).

Previous: frederik@ofb.netNext: Frederick Eaton
Message 11 of 17 in “de-alphabetizing the documentation”
  1. frederik@ofb.netJul 6, 2018
  2. Jonathan NiederJul 6, 2018
  3. Jonathan NiederJul 6, 2018
  4. Eric SunshineJul 6, 2018
  5. frederik@ofb.netJul 6, 2018
  6. Jonathan NiederJul 6, 2018
  7. frederik@ofb.netJul 8, 2018
  8. frederik@ofb.netJul 24, 2018
  9. Jonathan NiederJul 24, 2018
  10. frederik@ofb.netAug 11, 2018
  11. Junio C HamanoAug 13, 2018
  12. 0/1 de-alphabetize command listFrederick Eaton, Feb 19, 2019
  13. frederik@ofb.netFeb 21, 2019
  14. frederik@ofb.netMar 11, 2019
  15. Jacob KellerMar 11, 2019
  16. Prioritize list of commands appearing in git(1), via command-list.txt. Don't invoke 'sort' in Documentation/cmd-list.perl.Frederick Eaton, Feb 19, 2019
  17. Theodore Y. Ts'oJul 7, 2018

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.