From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: Thomas Rast <trast@student.ethz.ch>
Cc: git@vger.kernel.org, Jonathan Nieder <jrnieder@gmail.com>,
Jeff King <peff@peff.net>
Subject: Re: [RFC PATCH 0/24] Documentation: refactor config variable descriptions
Date: Mon, 26 Jul 2010 19:05:51 +0000 [thread overview]
Message-ID: <AANLkTikPg3icj2u7IedfkHStsK4lBI27KAAzUXVFJeyY@mail.gmail.com> (raw)
In-Reply-To: <cover.1280169048.git.trast@student.ethz.ch>
On Mon, Jul 26, 2010 at 18:48, Thomas Rast <trast@student.ethz.ch> wrote:
> This little series is a bit of a spinoff from
>
> http://article.gmane.org/gmane.comp.version-control.git/146696
> and
> http://article.gmane.org/gmane.comp.version-control.git/145139
>
> Since I didn't want to spam the list with 24 RFC emails, I squashed
> all the manpage-specific patches into one for this submission. You
> can find the originals at
>
> git://repo.or.cz/git/trast.git t/doc-config-extraction
>
> Judging from its size it's quite possible that
>
> [1/24] Documentation: Move variables from config.txt to separate file
>
> won't make it through to the list, either, and -M doesn't help, so you
> may have to look it up at the above repository too.
>
>
> Work so far:
>
> I moved the variables from config.txt and merge-config.txt to a new
> file, and made a little helper script that expands @@CONFIG(key)@@ in
> the asciidoc files, driven by the Makefile of course.
>
> I then went over the manpages in the "Main Porcelain Commands" list of
> git(1) and either (easy case) added a "CONFIGURATION" section with the
> relevant variables or (hard case) tried to refactor the descriptions
> so that they are only kept in one place.
>
> Ævar kindly rewrote the Perl script in a more readable and error-safe
> style, which I squashed for this posting. It's still a separate patch
> at the above link, too.
This whole series does some much needed improvement on config documentation.
Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
> Further directions:
>
> I'm a bit hesitant to go in Peff's suggested direction of outright
> removing all variables from git-config(1). I would prefer to both
> have the short list and group them by some category system, if that
> happens to work out. Perhaps the categorized list can eventually be
> removed once we can verify that all variables are documented in
> another manpage.
>
>
> Known omissions/todos:
>
> * git-gc has an elaborate prose section to the same effect that I
> wasn't quite ready to tear apart yet
>
> * git-notes has excellent custom descriptions from Jonathan's series
> that I didn't want to refactor
>
> * The description of format.pretty in git-log.txt is unsatisfactory
>
> * check-docs or some other make target should verify that no manpage
> links to itself
All these can be done later.
next prev parent reply other threads:[~2010-07-26 19:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-26 18:48 [RFC PATCH 0/24] Documentation: refactor config variable descriptions Thomas Rast
2010-07-26 18:48 ` [PATCH 2/24] Documentation: Add variable-substitution script Thomas Rast
2010-07-26 19:51 ` Jonathan Nieder
2010-07-26 20:27 ` Ævar Arnfjörð Bjarmason
2010-07-26 21:17 ` Jakub Narebski
2010-07-26 21:49 ` Ævar Arnfjörð Bjarmason
2010-07-26 18:48 ` [PATCH 3-24/24] Documentation: include configuration options in manpages Thomas Rast
2010-07-26 19:55 ` Jonathan Nieder
2010-07-26 19:05 ` Ævar Arnfjörð Bjarmason [this message]
[not found] ` <75c9db91f5ab43ebb60cace0d20389462a2ab02c.1280169048.git.trast@student.ethz.ch>
2010-07-26 19:38 ` [PATCH 1/24] Documentation: Move variables from config.txt to separate file Jonathan Nieder
2010-07-26 20:18 ` Ævar Arnfjörð Bjarmason
2010-07-27 6:48 ` Sverre Rabbelier
2010-07-28 17:23 ` Junio C Hamano
2010-07-26 22:25 ` [RFC PATCH 0/24] Documentation: refactor config variable descriptions Ævar Arnfjörð Bjarmason
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=AANLkTikPg3icj2u7IedfkHStsK4lBI27KAAzUXVFJeyY@mail.gmail.com \
--to=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=jrnieder@gmail.com \
--cc=peff@peff.net \
--cc=trast@student.ethz.ch \
/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).