Re: [PATCH v7 2/5] command-list.txt: add a [common] block
From: Eric Sunshine <hidden>
Date: 2016-06-15 23:04:47
On Fri, May 15, 2015 at 2:35 PM, Sébastien Guimmara [off-list ref] wrote:
Add a [common] block at the beginning of command-list.txt:
Without benefit of the explanation in the cover letter, the reason for
this change is a bit mysterious. Even a single sentence preceding this
one could help clarify. Perhaps the above could be rewritten something
like this:
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 [common] block, and then assign a group to each
common command.
[common]
init start a working area (see also: git help tutorial)
worktree work on the current change (see also:[...]
info examine the history and state (see also: git [...]
history grow, mark and tweak your history
remote collaborate (see also: git help workflows)
storing information about common commands group, then map each common
command to a group:
git-add mainporcelain common worktreeWith the above rewritten explanation, the rest of the commit message (the above examples) becomes pretty much unnecessary and merely repeats what the patch itself already says.
Helped-by: Eric Sunshine [off-list ref] Helped-by: Junio C Hamano [off-list ref] Helped-by: Emma Jane Hogbin Westby [off-list ref] Signed-off-by: Sébastien Guimmara <redacted>