web--browse: split valid_tool list
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 3 Dec 2010 16:47:37 +0000 (17:47 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Dec 2010 21:46:24 +0000 (13:46 -0800)
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>
git-web--browse.sh

index 7c4568fc236c1e76ff67a5ca0f55487052f844ae..bb3a669f1163f00317c5c46b1adfab8d4894bb35 100755 (executable)
@@ -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