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

2015-05-25 Thread Sébastien Guimmara
On 05/21/2015 08:01 PM, Eric Sunshine wrote: On Thu, May 21, 2015 at 1:39 PM, Sébastien Guimmara 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 gro

Re: [PATCH v11 5/5] help: respect new common command grouping

2015-05-25 Thread Sébastien Guimmara
On 05/21/2015 08:04 PM, Eric Sunshine wrote: On Thu, May 21, 2015 at 1:39 PM, Sébastien Guimmara wrote: 'git help' shows common commands in alphabetical order: The most commonly used git commands are: addAdd file contents to the index bisect Find by binary

[PATCH v11 1/5] command-list: prepare machinery for upcoming "common groups" section

2015-05-21 Thread Sébastien Guimmara
ing machinery, which doesn't care about grouping, to skip over this upcoming "common groups" section. Signed-off-by: Eric Sunshine Signed-off-by: Sébastien Guimmara --- Documentation/cmd-list.perl | 4 Makefile| 5 +++-- command-list.txt|

[PATCH v11 5/5] help: respect new common command grouping

2015-05-21 Thread Sébastien Guimmara
e contents to the index reset Reset current HEAD to the specified state examine the history and state (see also: git help revisions) logShow commit logs status Show the working tree status [...] Helped-by: Eric Sunshine Signed-off-by: Ramsay Jones Signed-off-by:

[PATCH v11 0/5] group common commands by theme

2015-05-21 Thread Sébastien Guimmara
Just a minor change, the modification of new-command.txt was squashed to 2/5 instead of 1/5. Eric Sunshine (2): command-list: prepare machinery for upcoming "common groups" section generate-cmdlist: parse common group commands Sébastien Guimmara (3): command-list.txt: add

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

2015-05-21 Thread Sébastien Guimmara
out common commands group, then map each common command to a group: git-add mainporcelaincommon worktree Helped-by: Eric Sunshine Helped-by: Junio C Hamano Helped-by: Emma Jane Hogbin Westby Signed-off-by: Sébastien Guimmara --- Documentation/howto/new-command.txt | 4 ++

[PATCH v11 4/5] command-list.txt: drop the "common" tag

2015-05-21 Thread Sébastien Guimmara
ned-off-by: Sébastien Guimmara --- command-list.txt | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/command-list.txt b/command-list.txt index 32ddab3..9a98752 100644 --- a/command-list.txt +++ b/command-list.txt @@ -11,30 +11,30

[PATCH v11 3/5] generate-cmdlist: parse common group commands

2015-05-21 Thread Sébastien Guimmara
... }; so that 'git help' can print those commands grouped by theme. Only commands tagged with an attribute from the group block are emitted to common_cmds[]. [commit message by Sébastien Guimmara ] Signed-off-by: Eric Sunshine Signed-off-by: Sébastien Guimmara --- Makefile

Re: [PATCH v10 1/5] command-list: prepare machinery for upcoming "common groups" section

2015-05-21 Thread Sébastien Guimmara
On 05/21/2015 03:48 PM, Eric Sunshine wrote: On Thu, May 21, 2015 at 9:13 AM, Sébastien Guimmara wrote: From: Eric Sunshine The ultimate goal is for "git help" to classify common commands by group. Toward this end, a subsequent patch will add a new "common groups"

[PATCH v10 5/5] help: respect new common command grouping

2015-05-21 Thread Sébastien Guimmara
ned-off-by: Sébastien Guimmara --- help.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/help.c b/help.c index 2072a87..8f72051 100644 --- a/help.c +++ b/help.c @@ -218,17 +218,39 @@ void list_commands(unsigned int colopts, } } +static int cmd

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

2015-05-21 Thread Sébastien Guimmara
out common commands group, then map each common command to a group: git-add mainporcelaincommon worktree Helped-by: Eric Sunshine Helped-by: Junio C Hamano Helped-by: Emma Jane Hogbin Westby Signed-off-by: Sébastien Guimmara --- command-lis

[PATCH v10 4/5] command-list.txt: drop the "common" tag

2015-05-21 Thread Sébastien Guimmara
ned-off-by: Sébastien Guimmara --- command-list.txt | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/command-list.txt b/command-list.txt index 32ddab3..9a98752 100644 --- a/command-list.txt +++ b/command-list.txt @@ -11,30 +11,30

[PATCH v10 0/5] group common commands by theme

2015-05-21 Thread Sébastien Guimmara
): command-list: prepare machinery for upcoming "common groups" section generate-cmdlist: parse common group commands Sébastien Guimmara (3): command-list.txt: add the common groups block command-list.txt: drop the "common" tag help: respect new common command grouping Documen

[PATCH v10 1/5] command-list: prepare machinery for upcoming "common groups" section

2015-05-21 Thread Sébastien Guimmara
ing machinery, which doesn't care about grouping, to skip over this upcoming "common groups" section. Signed-off-by: Eric Sunshine Signed-off-by: Sébastien Guimmara --- Documentation/cmd-list.perl | 4 Documentation/howto/new-command.txt | 4 +++- Makefile

[PATCH v10 3/5] generate-cmdlist: parse common group commands

2015-05-21 Thread Sébastien Guimmara
... }; so that 'git help' can print those commands grouped by theme. Only commands tagged with an attribute from the group block are emitted to common_cmds[]. [commit message by Sébastien Guimmara ] Signed-off-by: Eric Sunshine Signed-off-by: Sébastien Guimmara --- Makefile

Re: [PATCH v9 5/5] help: respect new common command grouping

2015-05-20 Thread Sébastien Guimmara
On 05/20/2015 11:39 PM, Ramsay Jones wrote: On 20/05/15 20:23, Sébastien Guimmara wrote: Helped-by: Eric Sunshine Signed-off-by: Ramsay Jones This should be (at most) 'Helped-by:' - my 'contribution' was so minor that even a 'Helped-by:' is generous! :-D ATB

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

2015-05-20 Thread Sébastien Guimmara
On 05/20/2015 09:48 PM, Eric Sunshine wrote: On Wed, May 20, 2015 at 3:22 PM, Sébastien Guimmara 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 gro

Re: [PATCH v9 3/5] generate-cmdlist: parse common group commands

2015-05-20 Thread Sébastien Guimmara
On 05/20/2015 09:32 PM, Stefan Beller wrote: On Wed, May 20, 2015 at 12:27 PM, Sébastien Guimmara wrote: On 05/20/2015 09:22 PM, Sébastien Guimmara wrote: From: Eric Sunshine It looks like 'git send-email' got confused with the CC field. I'm sorry for that. It'

Re: [PATCH v9 3/5] generate-cmdlist: parse common group commands

2015-05-20 Thread Sébastien Guimmara
On 05/20/2015 09:22 PM, Sébastien Guimmara wrote: From: Eric Sunshine It looks like 'git send-email' got confused with the CC field. I'm sorry for that. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kerne

[PATCH v9 4/5] command-list.txt: drop the "common" tag

2015-05-20 Thread Sébastien Guimmara
ned-off-by: Sébastien Guimmara --- command-list.txt | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/command-list.txt b/command-list.txt index c2bbdc1..080d6d9 100644 --- a/command-list.txt +++ b/command-list.txt @@ -11,30 +11,30

[PATCH v9 1/5] command-list: prepare machinery for upcoming "common groups" section

2015-05-20 Thread Sébastien Guimmara
ing machinery, which doesn't care about grouping, to skip over this upcoming "common groups" section. Signed-off-by: Eric Sunshine Signed-off-by: Sébastien Guimmara --- Documentation/cmd-list.perl | 4 Makefile| 5 +++-- command-list.txt| 3

[PATCH v9 3/5] generate-cmdlist: parse common group commands

2015-05-20 Thread Sébastien Guimmara
... }; so that 'git help' can print those commands grouped by theme. Only commands tagged with an attribute from the group block are emitted to common_cmds[]. [commit message by Sébastien Guimmara ] Signed-off-by: Eric Sunshine Signed-off-by: Sébastien Guimmara --- Makefile

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

2015-05-20 Thread Sébastien Guimmara
out common commands group, then map each common command to a group: git-add mainporcelaincommon worktree Helped-by: Eric Sunshine Helped-by: Junio C Hamano Helped-by: Emma Jane Hogbin Westby Signed-off-by: Sébastien Guimmara --- command-lis

[PATCH v9 5/5] help: respect new common command grouping

2015-05-20 Thread Sébastien Guimmara
Signed-off-by: Sébastien Guimmara --- help.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/help.c b/help.c index 2072a87..8f72051 100644 --- a/help.c +++ b/help.c @@ -218,17 +218,39 @@ void list_commands(unsigned int colopts, } } +

[PATCH v9 0/5] group common commands by theme

2015-05-20 Thread Sébastien Guimmara
mdlist: parse common group commands Sébastien Guimmara (3): command-list.txt: add the common groups block command-list.txt: drop the "common" tag help: respect new common command grouping Documentation/cmd-list.perl | 4 Makefile|

[PATCH v7 2/5] command-list.txt: add a [common] block

2015-05-15 Thread Sébastien Guimmara
: Emma Jane Hogbin Westby Signed-off-by: Sébastien Guimmara --- command-list.txt | 52 +++- 1 file changed, 31 insertions(+), 21 deletions(-) diff --git a/command-list.txt b/command-list.txt index caed872..c00b0b6 100644 --- a/command-list.txt +++ b

[PATCH v5 5/6] new-command.txt: mention the common command groups

2015-05-09 Thread Sébastien Guimmara
In the 6. step, add information about the common group commands found in command-list.txt. Signed-off-by: Sébastien Guimmara --- Documentation/howto/new-command.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/howto/new-command.txt b/Documentation/howto

[PATCH v5 3/6] command-list.txt: group common commands by theme

2015-05-09 Thread Sébastien Guimmara
estby Signed-off-by: Sébastien Guimmara --- command-list.txt | 56 ++-- 1 file changed, 34 insertions(+), 22 deletions(-) diff --git a/command-list.txt b/command-list.txt index f1eae08..7e7ce53 100644 --- a/command-list.txt +++ b/command-list.txt @@ -1,2

[PATCH v5 1/6] generate-cmdlist: parse common group commands

2015-05-09 Thread Sébastien Guimmara
{"commit", N_("Record changes to the repository"), 4}, ... }; so that 'git help' can print those commands grouped by theme. Only commands tagged with an attribute from [common] are emitted to common_cmds[]. [commit message by Sébastien Guimmara ] Si