From mboxrd@z Thu Jan 1 00:00:00 1970 From: necoro at necoro.net (=?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?=) Date: Sun, 7 Oct 2012 23:23:45 +0200 Subject: [PATCH 0/2] Git-Config Parsing during scan-path Message-ID: <1349645027-22007-1-git-send-email-necoro@necoro.net> Some time ago, Jamie sent a patch to this list that allows to parse the git config on scan-path [1]. The main use-case is a nice integration with gitolite instead of the 'one workaround per option' as it is handled now (enable-gitweb-*). As Jason had asked to resend non-applied patches, I took the chance to port the patch to the current master and to update the documentation. Changes wrt the old patch: * Use "cgit" as gitconfig section instead of "repo" -- the latter is too generic imho and might lead to problems in the future. * Removed some obscure Apache hint that seemed to be out of context. * Update example gitolite.conf to recent gitolite-3 syntax. * Pointed out that it works perfectly fine together with the (now) existing 'enable-gitweb-*' stuff. [1] http://hjemli.net/pipermail/cgit/2011-November/000414.html - Ren? Ren? 'Necoro' Neumann (2): Read "cgit.*" settings from gitconfig. Documentation for the gitconfig sourcing. cgit.c | 3 +++ cgit.h | 1 + cgitrc.5.txt | 47 +++++++++++++++++++++++++++++++++++++++++++++++ scan-tree.c | 19 +++++++++++++++---- 4 files changed, 66 insertions(+), 4 deletions(-) -- 1.7.8.6