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

Re: [RFC/PATCH] git-help: add new options -w (for web) and -i (for info)

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Nov 24, 2007, 18:23 UTC
Message-ID
<vpqlk8nv6y9.fsf@bauges.imag.fr>
In-Reply-To
<47482116.70600@op5.se>
Andreas Ericsson <ae@op5.se> writes:
Show 15 quoted lines
> Alex Riesen wrote:
>> Christian Couder, Sat, Nov 24, 2007 05:16:50 +0100:
>>> +valid_tool() {
>>> +	case "$1" in
>>> +		firefox | iceweasel | konqueror | w3m)
>>> +			;; # happy
>>
>> lynx, links and dillo?
>>
>
> Why bother validating it at all? I might be using a script to
> add some formatting and then pass it through the browser of my
> choice. A friend of mine who's visually impaired does just that
> to strip some CSS tags which can make docs quite unreadable for
> him.

In any case, make sure it's consistant with git instaweb, which also runs a web browser (firefox by default, overridable with --browser or instaweb.browser).

-- 
Matthieu
Previous: Alex Riesen
Message 6 of 6 in “git-help: add new options -w (for web) and -i (for info)”
  1. git-help: add new options -w (for web) and -i (for info)Christian Couder, Nov 24, 2007
  2. Jakub NarebskiNov 24, 2007
  3. Alex RiesenNov 24, 2007
  4. Andreas EricssonNov 24, 2007
  5. Alex RiesenNov 24, 2007
  6. Matthieu MoyNov 24, 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.