git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] git-help: add "web_or_man" and "web_or_info" config vars.

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 12, 2007, 05:35 UTC
Message-ID
<7v1w9sbhlg.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20071212063325.92cd29a8.chriscool@tuxfamily.org>

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.

Previous: Christian CouderNext: Christian Couder
Message 2 of 4 in “git-help: add "web_or_man" and "web_or_info" config vars.”
  1. 2/2 git-help: add "web_or_man" and "web_or_info" config vars.Christian Couder, Dec 12, 2007
  2. Junio C HamanoDec 12, 2007
  3. Christian CouderDec 12, 2007
  4. Johannes SchindelinDec 12, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.