Skip to content

Commit

Permalink
web--browse: split valid_tool list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Giuseppe Bilotta authored and Junio C Hamano committed Dec 3, 2010
1 parent a180055 commit b968708
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion git-web--browse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b968708

Please sign in to comment.