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
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
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|
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:
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
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 ++
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
...
};
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
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"
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
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
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
):
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
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
...
};
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
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
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
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'
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
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
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
...
};
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
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
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,
}
}
+
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|
: 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
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
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
{"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
29 matches
Mail list logo