summaryrefslogtreecommitdiff
path: root/Documentation/git-show-index.txt
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-03-14 04:56:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-03-14 07:31:06 (GMT)
commit77e21533a938b886ed2b8636a75f76870f4805de (patch)
tree0a57654633b619f7246f302856406828c9eed9d1 /Documentation/git-show-index.txt
parent5ad9db3d040bf77031958c8f51a0106818119617 (diff)
downloadgit-77e21533a938b886ed2b8636a75f76870f4805de.zip
git-77e21533a938b886ed2b8636a75f76870f4805de.tar.gz
git-77e21533a938b886ed2b8636a75f76870f4805de.tar.bz2
web--browse: use custom commands defined at config time
Currently "git web--browse" is restricted to a set of commands defined in the script. You can subvert the "browser.<tool>.path" to force "git web--browse" to use a different command, but if you have a command whose invocation syntax does not match one of the current tools then you would have to write a wrapper script for it. This patch adds a git config variable "browser.<tool>.cmd" which allows a more flexible browser choice. If you run "git web--browse" with -t/--tool, -b/--browser or the "web.browser" config variable set to an unrecognized tool then "git web--browse" will query the "browser.<tool>.cmd" config variable. 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 added as extra parameters. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-show-index.txt')
0 files changed, 0 insertions, 0 deletions