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

Re: [PATCH/RFC] Add support for the google-chrome web browser

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 5, 2010, 18:39 UTC
Message-ID
<7v8wccz99g.fsf@alter.siamese.dyndns.org>
In-Reply-To
<32541b131001050920j2a569ec8u8811f1b0358f21ef@mail.gmail.com>
Avery Pennarun <apenwarr@gmail.com> writes:
Show 10 quoted lines
> On Tue, Jan 5, 2010 at 12:40 AM, Junio C Hamano <gitster@pobox.com> wrote:
>> Then we don't even have to add any specific support for "google-chrome" or
>> anything that takes "$command $path..." and opens the documents.
>>
>> Is there a downside in this approach?
>
> If someone has another firefox-derived browser installed with a
> different name and tries to use it, this default wouldn't do the right
> "firefoxy" thing, and would instead fail strangely.  On the other
> hand, right now it'll fail anyway, just not strangely.

You probably didn't notice/understand why I singled out w3m/links/open and excluded firefox from the set. There is no question that the ones that need custom command line need custom support. But to support a new browser that takes a bog standard "command then args" command line, there is no reason to add cruft, every time somebody comes up with a new browser.

Previous: Avery PennarunNext: Avery Pennarun
Message 4 of 6 in “Add support for the google-chrome web browser”
  1. Add support for the google-chrome web browserEvan Farrer, Jan 5, 2010
  2. Junio C HamanoJan 5, 2010
  3. Avery PennarunJan 5, 2010
  4. Junio C HamanoJan 5, 2010
  5. Avery PennarunJan 5, 2010
  6. Junio C HamanoJan 5, 2010

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.