summaryrefslogtreecommitdiffstats
path: root/git-web--browse.html
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.html
parent09a926d6ec97129942cd536be658e53510becc26 (diff)
downloadgit-htmldocs-8760ea6311a1c56f0d2c7bb31af840eb49f0f007.tar.gz
Autogenerated HTML docs for v1.5.4.4-551-g1658
Diffstat (limited to 'git-web--browse.html')
-rw-r--r--git-web--browse.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/git-web--browse.html b/git-web--browse.html
index 902d6bc42..888590942 100644
--- a/git-web--browse.html
+++ b/git-web--browse.html
@@ -322,6 +322,7 @@ open (this is the default under Mac OS X GUI)
</p>
</li>
</ul>
+<p>Custom commands may also be specified.</p>
</div>
<h2>OPTIONS</h2>
<div class="sectionbody">
@@ -356,14 +357,24 @@ open (this is the default under Mac OS X GUI)
</div>
<h2>CONFIGURATION VARIABLES</h2>
<div class="sectionbody">
+<h3>CONF.VAR (from -c option) and web.browser</h3>
<p>The web browser can be specified using a configuration variable passed
with the -c (or --config) command line option, or the <em>web.browser</em>
configuration variable if the former is not used.</p>
+<h3>browser.&lt;tool&gt;.path</h3>
<p>You can explicitly provide a full path to your preferred browser by
setting the configuration variable <em>browser.&lt;tool&gt;.path</em>. For example,
you can configure the absolute path to firefox by setting
<em>browser.firefox.path</em>. Otherwise, <em>git-web--browse</em> assumes the tool
is available in PATH.</p>
+<h3>browser.&lt;tool&gt;.cmd</h3>
+<p>When the browser, specified by options or configuration variables, is
+not among the supported ones, then the corresponding
+<em>browser.&lt;tool&gt;.cmd</em> 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.</p>
+<h3>Note about git config --global</h3>
<p>Note that these configuration variables should probably be set using
the <em>--global</em> flag, for example like this:</p>
<div class="listingblock">
@@ -389,7 +400,7 @@ git-list &lt;git@vger.kernel.org&gt;.</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 17-Feb-2008 03:50:09 UTC
+Last updated 14-Mar-2008 08:58:16 UTC
</div>
</div>
</body>