summaryrefslogtreecommitdiffstats
path: root/git-web--browse.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-03-14 08:58:45 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-03-14 08:58:45 +0000
commit8760ea6311a1c56f0d2c7bb31af840eb49f0f007 (patch)
tree64175800edfb457cbc59d5e68e4b1332617e5d80 /git-web--browse.txt
parent09a926d6ec97129942cd536be658e53510becc26 (diff)
downloadgit-htmldocs-8760ea6311a1c56f0d2c7bb31af840eb49f0f007.tar.gz
Autogenerated HTML docs for v1.5.4.4-551-g1658
Diffstat (limited to 'git-web--browse.txt')
-rw-r--r--git-web--browse.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/git-web--browse.txt b/git-web--browse.txt
index df57d010e..ddbae5b19 100644
--- a/git-web--browse.txt
+++ b/git-web--browse.txt
@@ -27,6 +27,8 @@ The following browsers (or commands) are currently supported:
* dillo
* open (this is the default under Mac OS X GUI)
+Custom commands may also be specified.
+
OPTIONS
-------
-b BROWSER|--browser=BROWSER::
@@ -43,16 +45,35 @@ OPTIONS
CONFIGURATION VARIABLES
-----------------------
+CONF.VAR (from -c option) and web.browser
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
The web browser can be specified using a configuration variable passed
with the -c (or --config) command line option, or the 'web.browser'
configuration variable if the former is not used.
+browser.<tool>.path
+~~~~~~~~~~~~~~~~~~~
+
You can explicitly provide a full path to your preferred browser by
setting the configuration variable 'browser.<tool>.path'. For example,
you can configure the absolute path to firefox by setting
'browser.firefox.path'. Otherwise, 'git-web--browse' assumes the tool
is available in PATH.
+browser.<tool>.cmd
+~~~~~~~~~~~~~~~~~~
+
+When the browser, specified by options or configuration variables, is
+not among the supported ones, then the corresponding
+'browser.<tool>.cmd' configuration variable will be looked up. If this
+variable exists then "git web--browse" will treat the specified tool
+as a custom command and will use a shell eval to run the command with
+the URLs passed as arguments.
+
+Note about git config --global
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
Note that these configuration variables should probably be set using
the '--global' flag, for example like this: