From mboxrd@z Thu Jan 1 00:00:00 1970 From: jamie.couture at gmail.com (Jamie Couture) Date: Tue, 9 Oct 2012 09:18:52 -0400 Subject: enable-git-config=1 In-Reply-To: References: Message-ID: Works fine for me. Thanks. Tested on CentOS 6 / Fedora 17 On Tue, Oct 9, 2012 at 8:49 AM, Jason A. Donenfeld wrote: > Hi all, > > After some back and forth with Jamie and Ren?, it looks like the git > config semantics are going to be like this: > > - gitweb.category maps to the cgit repo config key "section" > - gitweb.description maps to the cgit repo config key "desc" > - gitweb.owner maps to the cgit repo config key "owner" > - cgit.* maps to all other cgit repo config keys > > This option can be enabled with "enable-git-config=1", and replaces > all previous "enable-gitweb-*" config keys. > > The order of operations is as follows: > > - git config settings are applied > - if the owner is not set from git config, get the owner using the > usual getpwuid call > - if the description is not set from git config, look inside the > static $path/description file > - if section-from-path=1, override whatever previous settings were > inside of git config using the section-from-path logic > - parse $path/cgitrc for local repo.* settings, that override all > previous settings > > > Please test the jd/gitconfig branch, and let me know how it goes.You > can read a diff here: > http://git.zx2c4.com/cgit/commit/?h=jd/gitconfig > > Thanks, > Jason >