[PATCH 2/2] Add feature: obtain repo section from git config

larsh at hjemli.net larsh at hjemli.net
Mon Jun 6 19:13:44 CEST 2011


On Fri, Jun 03, 2011 at 07:21:02PM -0400, Jamie Couture wrote:
> +section-from-repo-config::
> +	If set to "1" obtain the section name from git config. The expected config
> +	section.key that is used is "cgit.section".
> +	Ex: $ git config cgit.section mysection
> +	An alternative to section-from-path, and will not check git config if
> +	section-from-path is set. See also: scan-path.  This must be defined prior
> +	to scan-path.
> +

* What value is added by $GITDIR/config compared to $GITDIR/cgitrc?
* If we want to support reading repo-config from $GITDIR/config, why not
  implement all the options supported by a $GITDIR/cgitrc?

--
larsh




More information about the CGit mailing list