[PATCH 1/2] cgitrc.5.txt: clarify enable-git-config option

Jamie Couture jamie.couture at gmail.com
Tue Oct 30 02:49:47 CET 2012


Due to config parsing order nuances, enable-git-config must come before
the scan-path option.  Otherwise, scan-path logic will run with the
default setting 0, and will be skipped regardless of being explicitly
enabled in cgitrc.

Fixed some spelling mistakes.

Signed-off-by: Jamie Couture <jamie.couture at gmail.com>
---
 cgitrc.5.txt | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 5887cee..5956662 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -150,9 +150,11 @@ enable-git-config::
 	any repo specific settings. This option is used in conjunction with
 	"scan-path" to augment repo-specific settings. The keys gitweb.owner,
 	gitweb.category, and gitweb.description will map to the cgit keys
-	repo.owner, repo.section, and repo.desc, respectivly. All git config
-	keys that begin with "cgit." will be mapped to the corresponding "repo."
-	key in cgit. Default value: "0". See also: scan-path, section-from-path.
+	repo.owner, repo.section, and repo.desc, respectively.  All git config
+	keys that begin with "cgit." will be mapped to the corresponding
+	"repo." key in cgit. Default value: "0". *This option must be enabled
+	prior to setting 'scan-path'*.  See also: scan-path,
+	section-from-path.
 
 favicon::
 	Url used as link to a shortcut icon for cgit. If specified, it is
-- 
1.7.11.7





More information about the CGit mailing list