[RFC] Using Git's internal config system

John Keeping john at keeping.me.uk
Wed Jun 5 12:27:53 CEST 2013


On Wed, Jun 05, 2013 at 12:18:35PM +0200, Ferry Huberts wrote:
> How about just adding the cgit repo specific config to the actual git
> repo config file?
> Something like:
> 
> [cgit]
> url = foo.git
> path = /some/path/to/foo/
> desc = Foo repository
> 
> section = ....
> 
> [cgit "module-links"]
> format = formatstring1
> format = formatstring2
> 
> etc..

You can already do that if you're using "scan-path" and have
"enable-git-config = 1".


More information about the CGit mailing list