[PATCH 0/2] Git-Config Parsing during scan-path
René 'Necoro' Neumann
necoro at necoro.net
Sun Oct 7 23:23:45 CEST 2012
Some time ago, Jamie sent a patch to this list that allows to parse the git
config on scan-path . The main use-case is a nice integration with gitolite
instead of the 'one workaround per option' as it is handled now
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
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(-)
More information about the CGit