From: Evan Farrer <evan.farrer@gmail.com>
To: git@vger.kernel.org
Cc: Christian Couder <chriscool@tuxfamily.org>
Subject: [PATCH/RFC] Add support for the google-chrome web browser
Date: Mon, 4 Jan 2010 22:19:06 -0700 [thread overview]
Message-ID: <20100105051906.GA22799@efarrerlx.appsig.com> (raw)
Signed-off-by: Evan Farrer <Evan.Farrer@gmail.com>
---
Documentation/git-web--browse.txt | 1 +
git-web--browse.sh | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-web--browse.txt b/Documentation/git-web--browse.txt
index 278cf73..0994139 100644
--- a/Documentation/git-web--browse.txt
+++ b/Documentation/git-web--browse.txt
@@ -25,6 +25,7 @@ The following browsers (or commands) are currently supported:
* links
* lynx
* dillo
+* google-chrome
* open (this is the default under Mac OS X GUI)
* start (this is the default under MinGW)
diff --git a/git-web--browse.sh b/git-web--browse.sh
index a578c3a..0664b9e 100755
--- a/git-web--browse.sh
+++ b/git-web--browse.sh
@@ -31,7 +31,7 @@ valid_custom_tool()
valid_tool() {
case "$1" in
- firefox | iceweasel | konqueror | w3m | links | lynx | dillo | open | start)
+ firefox | iceweasel | konqueror | w3m | links | lynx | dillo | google-chrome | open | start)
;; # happy
*)
valid_custom_tool "$1" || return 1
@@ -103,7 +103,7 @@ fi
if test -z "$browser" ; then
if test -n "$DISPLAY"; then
- browser_candidates="firefox iceweasel konqueror w3m links lynx dillo"
+ browser_candidates="firefox iceweasel konqueror w3m links lynx dillo google-chrome"
if test "$KDE_FULL_SESSION" = "true"; then
browser_candidates="konqueror $browser_candidates"
fi
@@ -162,7 +162,7 @@ case "$browser" in
;;
esac
;;
- w3m|links|lynx|open)
+ w3m|links|lynx|google-chrome|open)
eval "$browser_path" "$@"
;;
start)
--
1.6.6.78.gbd757c
next reply other threads:[~2010-01-05 5:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-05 5:19 Evan Farrer [this message]
2010-01-05 5:40 ` [PATCH/RFC] Add support for the google-chrome web browser Junio C Hamano
2010-01-05 17:20 ` Avery Pennarun
2010-01-05 18:39 ` Junio C Hamano
2010-01-05 18:56 ` Avery Pennarun
2010-01-05 19:56 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100105051906.GA22799@efarrerlx.appsig.com \
--to=evan.farrer@gmail.com \
--cc=chriscool@tuxfamily.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).