From: "Sébastien Guimmara" <sebastien.guimmara@gmail.com>
To: git@vger.kernel.org
Cc: sunshine@sunshineco.com,
"Sébastien Guimmara" <sebastien.guimmara@gmail.com>
Subject: [PATCH v8 0/5] group common commands by theme
Date: Mon, 18 May 2015 21:18:12 +0200 [thread overview]
Message-ID: <1431976697-26288-1-git-send-email-sebastien.guimmara@gmail.com> (raw)
No major improvement over v7 [1], this v8 drops the [common] and
[commands] headers, instead relying on commented headers
"### command list" and "### common groups." to avoid ulgy looking
sed/awk parsing.
generate-cmdlist.awk: slight modification to allow parsing of those
headers.
git help: the colon at the end of each group is dropped.
Summary: to help unfamiliar users grok the Git workflow, rework the
output of 'git help' by grouping the commands by theme:
The typical Git workflow includes:
start a working area (see also: git help tutorial)
clone Clone a repository into a new directory
init Create an empty Git repository or reinitialize an [...]
work on the current change (see also: git help everyday)
add Add file contents to the index
mv Move or rename a file, a directory, or a symlink
reset Reset current HEAD to the specified state
rm Remove files from the working tree and from the index
[...]
This series depends on bf990a2 (command-list: fix whitespace
inconsistency)[2]
[1] http://thread.gmane.org/gmane.comp.version-control.git/269167
[2] http://thread.gmane.org/gmane.comp.version-control.git/268649
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 the common groups block
command-list.txt: drop the "common" tag
help: respect new common command grouping
Documentation/cmd-list.perl | 4 ++++
Makefile | 9 ++++----
command-list.txt | 53 +++++++++++++++++++++++++++------------------
generate-cmdlist.awk | 39 +++++++++++++++++++++++++++++++++
generate-cmdlist.sh | 23 --------------------
help.c | 24 +++++++++++++++++++-
6 files changed, 103 insertions(+), 49 deletions(-)
create mode 100644 generate-cmdlist.awk
delete mode 100755 generate-cmdlist.sh
--
2.4.0.GIT
next reply other threads:[~2015-05-18 19:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-18 19:18 Sébastien Guimmara [this message]
2015-05-18 19:18 ` [PATCH v8 1/5] command-list: prepare machinery for upcoming "common groups" section Sébastien Guimmara
2015-05-18 19:18 ` [PATCH v8 2/5] command-list.txt: add the common groups block Sébastien Guimmara
2015-05-18 19:18 ` [PATCH v8 3/5] generate-cmdlist: parse common group commands Sébastien Guimmara
2015-05-18 19:18 ` [PATCH v8 4/5] command-list.txt: drop the "common" tag Sébastien Guimmara
2015-05-18 19:18 ` [PATCH v8 5/5] help: respect new common command grouping Sébastien Guimmara
2015-05-18 21:39 ` Junio C Hamano
2015-05-19 0:43 ` Eric Sunshine
2015-05-19 16:09 ` Junio C Hamano
2015-05-19 16:35 ` Eric Sunshine
2015-05-19 18:20 ` Junio C Hamano
2015-05-19 17:57 ` Sébastien Guimmara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1431976697-26288-1-git-send-email-sebastien.guimmara@gmail.com \
--to=sebastien.guimmara@gmail.com \
--cc=git@vger.kernel.org \
--cc=sunshine@sunshineco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).