summaryrefslogtreecommitdiff
path: root/git-web--browse.sh
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-12-03 16:47:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-12-03 21:46:24 (GMT)
commitb968708b3ed486a25c65a8481af927ab3884bfba (patch)
tree320183dbd43f0e11a1e3f29191d65fb5e1b72ce8 /git-web--browse.sh
parenta180055a47c6793eaaba6289f623cff32644215b (diff)
downloadgit-b968708b3ed486a25c65a8481af927ab3884bfba.zip
git-b968708b3ed486a25c65a8481af927ab3884bfba.tar.gz
git-b968708b3ed486a25c65a8481af927ab3884bfba.tar.bz2
web--browse: split valid_tool list
It was getting too long, and we want to add some more. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-web--browse.sh')
-rwxr-xr-xgit-web--browse.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-web--browse.sh b/git-web--browse.sh
index 7c4568f..bb3a669 100755
--- a/git-web--browse.sh
+++ b/git-web--browse.sh
@@ -31,7 +31,8 @@ valid_custom_tool()
valid_tool() {
case "$1" in
- firefox | iceweasel | chrome | google-chrome | chromium | konqueror | w3m | links | lynx | dillo | open | start)
+ firefox | iceweasel | chrome | google-chrome | chromium | \
+ konqueror | w3m | links | lynx | dillo | open | start)
;; # happy
*)
valid_custom_tool "$1" || return 1