You are not logged in.
I made a git + cgit setup yesterday and I tried to set it according to my taste. I found that every new repository has a /.git suffix in it which didn't seem needed and then I found about the remove-suffix option. Adding it made the suffix go away, but when I browse the repository log, tree, diff, etc, I get a "No repositories found" message.
Here's my cgirc:
#
# cgit config
#
css=/cgit.css
logo=/cgit.png
clone-prefix=git://git.smirky.net http://git.smirky.net
enable-index-links=1
# 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
# if you don't want that webcrawler (like google) index your site
robots=noindex, nofollow
# if cgit messes up links, use a virtual-root. For example has cgit.example.org/ this value:
virtual-root=/
remove-suffix=1
scan-hidden-path=1
scan-path=/srv/git
root-desc=Welcome to smirky's project spot!
root-title=S.M.I.R.K.Y.
Not quite sure if it's a bug or just a bad configuration.
EDIT: I managed to "fix" it. Close please.
Last edited by smirky (2014-09-04 14:26:15)
Personal spot :: https://www.smirky.net/ :: Try not to get lost!
Offline