diff options
author | Jonathan DeMasi <jrdemasi@gmail.com> | 2019-04-15 00:19:24 -0600 |
---|---|---|
committer | Jonathan DeMasi <jrdemasi@gmail.com> | 2019-04-15 00:19:24 -0600 |
commit | e97f6323c51285253ce0bc65c040eba0954e55d1 (patch) | |
tree | f0d2cdaa429d0e54a7575843d52c117a218bb41e | |
parent | 50b884115e34fc962752334f3c3920c699c78b95 (diff) | |
download | configs-e97f6323c51285253ce0bc65c040eba0954e55d1.tar configs-e97f6323c51285253ce0bc65c040eba0954e55d1.tar.gz configs-e97f6323c51285253ce0bc65c040eba0954e55d1.tar.bz2 configs-e97f6323c51285253ce0bc65c040eba0954e55d1.tar.lz configs-e97f6323c51285253ce0bc65c040eba0954e55d1.tar.xz configs-e97f6323c51285253ce0bc65c040eba0954e55d1.tar.zst configs-e97f6323c51285253ce0bc65c040eba0954e55d1.zip |
turns out scan path basically has to be last. very last
-rw-r--r-- | cgit/cgitrc | 18 |
1 files 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 |