From c62c2ed703c28f42ca476c96fa8afd51b6e8f376 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Mon, 22 Jun 2015 11:09:31 -0700 Subject: [PATCH] Document gitweb URL set, cgi unset configuration When using an external instance of gitweb (or gitiles), the gitweb.cgi configuration variable has no reason to be set. Setting it would cause the internal GitwebServlet to also be provisioned, which would not be the intended behavior in this configuration. Change-Id: I597b0c290fbb091628798b31421beacaa7dde1e4 --- Documentation/config-gitweb.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/config-gitweb.txt b/Documentation/config-gitweb.txt index 0fbb7ee828..63eaffdedd 100644 --- a/Documentation/config-gitweb.txt +++ b/Documentation/config-gitweb.txt @@ -219,7 +219,7 @@ being used, ensure it uses a full mirror, so the `+refs/changes/*+` namespace is available. ---- -$ git config -f $site_path/etc/gerrit.config gitweb.cgi $PATH_TO_GITWEB/gitweb.cgi +$ git config -f $site_path/etc/gerrit.config --unset gitweb.cgi $ git config -f $site_path/etc/gerrit.config gitweb.url https://gitweb.corporation.com ----