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

Re: [PATCH 1/2] Show html help with git-help --html

From
Frank Lichtenheld <frank@lichtenheld.de>
Date
Jun 5, 2007, 19:34 UTC
Message-ID
<20070605193451.GG17377@planck.djpig.de>
In-Reply-To
<20070605183420.GA8450@localhost>
On Tue, Jun 05, 2007 at 06:34:20PM +0000, Nguyen Thai Ngoc Duy wrote:
Show 6 quoted lines
> +core.help::
> +	If 'html', it is equivalent to 'git-help' with option --html.
> +	If 'auto', it tries to open html files first. If that attempt fails
> +	(the html program does not exist or the program return non-zero
> +	value), then it will fall back to man pages. If 'man', always use
> +	man pages as usual.

This should mention the default value. (Which is 'man', if I read the code correctly, isn't it?)

Show 8 quoted lines
> +core.htmlprogram::
> +	Specify the program used to open html help files when 'git-help'
> +	is called with option --html or core.help is other than 'man'.
> +	By default, xdg-open will be used.
> +	Special strings '%p', '%f' and '%b' will be replaced with html
> +	full path, file name and git command (without .html suffix)
> +	respectively. If none is given, '%p' will be automatically appended
> +	to the command line.

htmlprogram sounds kludgy to me. I would've used htmlcommand or perhaps htmlviewer. But I'm no native English speaker, so I might be entirely wrong about that.

Gruesse,
-- 
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/
Previous: Nguyen Thai Ngoc DuyNext: Nguyen Thai Ngoc Duy
Message 2 of 6 in “Show html help with git-help --html”
  1. 1/2 Show html help with git-help --htmlNguyen Thai Ngoc Duy, Jun 5, 2007
  2. Frank LichtenheldJun 5, 2007
  3. Nguyen Thai Ngoc DuyJun 5, 2007
  4. Junio C HamanoJun 5, 2007
  5. Nguyen Thai Ngoc DuyJun 6, 2007
  6. 1/2 Show html help with git-help --htmlNguyen Thai Ngoc Duy, Jun 9, 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.