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

Re: [PATCH v11 2/5] command-list.txt: add the common groups block

From
Sébastien Guimmara <sebastien.guimmara@gmail.com>
Date
May 25, 2015, 17:31 UTC
Message-ID
<55635C84.7080108@gmail.com>
In-Reply-To
<CAPig+cRciCgBZyuT4fz0JZLY9SRmODaXq=gvsimVQ7sdt+AzcA@mail.gmail.com>
On 05/21/2015 08:01 PM, Eric Sunshine wrote:
Show 35 quoted lines
> On Thu, May 21, 2015 at 1:39 PM, Sébastien Guimmara
> <sebastien.guimmara@gmail.com> wrote:
>> The ultimate goal is for "git help" to display common commands in
>> groups rather than alphabetically. As a first step, define the
>> groups in a new block, and then assign a group to each
>> common command.
>>
>> Helped-by: Eric Sunshine <sunshine@sunshineco.com>
>> Helped-by: Junio C Hamano <gitster@pobox.com>
>> Helped-by:  Emma Jane Hogbin Westby <emma.westby@gmail.com>
>> Signed-off-by: Sébastien Guimmara <sebastien.guimmara@gmail.com>
>> ---
>> diff --git a/command-list.txt b/command-list.txt
>> index 181a9c2..32ddab3 100644
>> --- a/command-list.txt
>> +++ b/command-list.txt
>> @@ -1,3 +1,14 @@
>> +# common commands are grouped by themes
>> +# these groups are output by 'git help' in the order declared here.
>> +# map each common command in the command list to one of these groups.
>> +### common groups (do not change this line)
>> +init         start a working area (see also: git help tutorial)
>> +worktree     work on the current change (see also: git help everyday)
>> +info         examine the history and state (see also: git help revisions)
>> +history      grow, mark and tweak your common history
>> +remote       collaborate (see also: git help workflows)
>> +
>> +# List of known git commands.
>
> This is odd. The above line was removed in 1/5 but then re-appears
> here in 2/5. I think the intent is that it should remain removed.
>
>>   ### command list (do not change this line)
>>   # command name                          category [deprecated] [common]
>>   git-add                                 mainporcelain common

My mistake. This will be corrected in the next version. Thank you for taking time to review this series.

Sébastien
Previous: Eric SunshineNext: Eric Sunshine
Message 5 of 13 in “group common commands by theme”
  1. 0/5 group common commands by themeSébastien Guimmara, May 21, 2015
  2. 1/5 command-list: prepare machinery for upcoming "common groups" sectionSébastien Guimmara, May 21, 2015
  3. 2/5 command-list.txt: add the common groups blockSébastien Guimmara, May 21, 2015
  4. Eric SunshineMay 21, 2015
  5. Sébastien GuimmaraMay 25, 2015
  6. Eric SunshineMay 26, 2015
  7. Junio C HamanoMay 26, 2015
  8. 3/5 generate-cmdlist: parse common group commandsSébastien Guimmara, May 21, 2015
  9. 4/5 command-list.txt: drop the "common" tagSébastien Guimmara, May 21, 2015
  10. 5/5 help: respect new common command groupingSébastien Guimmara, May 21, 2015
  11. Eric SunshineMay 21, 2015
  12. Sébastien GuimmaraMay 25, 2015
  13. Eric SunshineMay 21, 2015

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.