From: Junio C Hamano <gitster@pobox.com>
To: Christian Couder <chriscool@tuxfamily.org>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 2/2] git-help: add "web_or_man" and "web_or_info" config vars.
Date: Tue, 11 Dec 2007 21:35:39 -0800 [thread overview]
Message-ID: <7v1w9sbhlg.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <20071212063325.92cd29a8.chriscool@tuxfamily.org> (Christian Couder's message of "Wed, 12 Dec 2007 06:33:25 +0100")
I personally feel this is going a bit overboard. We'd be better off
doing something like this:
- add 'help.external' configuration variable, that allows the user to
set any external program;
- spawn the external program when "git help <cmd>" is given, with <cmd>
as the parameter;
- add an option to 'git config' to dump various paths configured in the
git program, such as manual page path, info page path and such, so
that the external program can learn where things are.
The second point above means that translating "cat-file" to
"git-cat-file.html" becomes the responsibility for the external
program.
next prev parent reply other threads:[~2007-12-12 5:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-12 5:33 [PATCH 2/2] git-help: add "web_or_man" and "web_or_info" config vars Christian Couder
2007-12-12 5:35 ` Junio C Hamano [this message]
2007-12-12 7:17 ` Christian Couder
2007-12-12 11:22 ` Johannes Schindelin
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=7v1w9sbhlg.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=chriscool@tuxfamily.org \
--cc=git@vger.kernel.org \
/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).