@matheusbsbs / matheus-bagliano / commits / b968708b3e
Fork 0

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>

Giuseppe Bilotta committed Dec 3, 2010 at 17:47 UTC b968708b3ed486a25c65a8481af927ab3884bfba
1 file changed +2 -1
git-web--browse.sh
+2 -1
@@ -31,7 +31,8 @@ valid_custom_tool()
31
32 valid_tool() {
33 case "$1" in
34 - firefox | iceweasel | chrome | google-chrome | chromium | konqueror | w3m | links | lynx | dillo | open | start)
34 + firefox | iceweasel | chrome | google-chrome | chromium | \
35 + konqueror | w3m | links | lynx | dillo | open | start)
36 ;; # happy
37 *)
38 valid_custom_tool "$1" || return 1