From e97f6323c51285253ce0bc65c040eba0954e55d1 Mon Sep 17 00:00:00 2001 From: Jonathan DeMasi Date: Mon, 15 Apr 2019 00:19:24 -0600 Subject: turns out scan path basically has to be last. very last --- cgit/cgitrc | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/cgit/cgitrc b/cgit/cgitrc index 804b12c..75cbeeb 100644 --- a/cgit/cgitrc +++ b/cgit/cgitrc @@ -5,14 +5,8 @@ css=/cgit.css logo=/cgit.png -# Following lines work with the above Apache config -#css=/cgit-css/cgit.css -#logo=/cgit-css/cgit.png - -# Following lines work with the above Lighttpd config -#css=/cgit/cgit.css -#logo=/cgit/cgit.png +enable-index-owner=1 # Allow http transport git clone enable-http-clone=0 @@ -28,12 +22,13 @@ remove-suffix=1 project-list=/var/lib/gitolite/projects.list snapshots=tar.gz tar.bz2 remove-suffix=1 -enable-index-owner=0 enable-blame=1 +enable-git-config=1 -scan-path=/var/lib/gitolite/repositories -source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh + +#source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh +source-filter=/usr/lib/cgit/filters/syntax-highlighting.py # Set title and description root-title=jthan.io::git root-desc=A smattering of stuff and things @@ -81,5 +76,4 @@ enable-log-filecount=1 # Show number of added/removed lines per commit on the log pages enable-log-linecount=1 -# Allow using gitweb.* keys -enable-git-config=1 +scan-path=/var/lib/gitolite/repositories -- cgit v1.2.3