Signed-off-by: Evan Farrer <Evan.Farrer@xxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html