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

[PATCH 5/5] git-instaweb: If firefox was not found, just print the URL

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 26, 2006, 14:34 UTC
Message-ID
<Pine.LNX.4.63.0607261634200.29667@wbgn013.biozentrum.uni-wuerzburg.de>
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
 git-instaweb.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-instaweb.sh b/git-instaweb.sh
index 242b55e..340ab98 100755
--- a/git-instaweb.sh
+++ b/git-instaweb.sh
@@ -245,4 +245,5 @@ esac
 
 start_httpd
 test -z "$browser" && browser=echo
+which "$browser" >/dev/null 2>&1 || browser=echo
 $browser http://127.0.0.1:$port
-- 
1.4.2.rc2.g6a4e
Next: Eric Wong
Message 1 of 3 in “git-instaweb: If firefox was not found, just print the URL”
  1. 5/5 git-instaweb: If firefox was not found, just print the URLJohannes Schindelin, Jul 26, 2006
  2. Eric WongJul 26, 2006
  3. Eric WongJul 27, 2006

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.