web--browse: use *www-browser if available
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 27 Nov 2010 14:24:44 +0000 (15:24 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 22 Dec 2010 19:17:03 +0000 (20:17 +0100)
commit1a7b5505db6d6faea87f0c2068a8070dd6a91de4
treeaad5147119ac4a8b5e0ef70b4ecf2324c6e07f7e
parent1da907ad63ff4b5ee9fc68e0010e74a399c18049
web--browse: use *www-browser if available

Debian and derivatives have an alternatives-based default browser
configuration that uses the /usr/bin/gnome-www-browser,
/usr/bin/x-www-browser and /usr/bin/www-browser symlinks.

When no browser is selected by the user and the Debian alternatives are
available, try to see if they are one of our recognized selection and
in the affermative case use it. Otherwise, warn the user about them
being unsupported and move on with the previous detection logic.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Documentation/git-web--browse.txt
git-web--browse.sh