summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-09-29 22:19:05 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-09-29 22:19:05 +0200
commit780164e401734b23843d4f0d4a19b824fff3065a (patch)
tree03afea78ab6537379043126905cce217831a5f46
parentbf410757052f9e8572a856f45007d89c81cc066b (diff)
Cgit: Add gitolite@ for clone ssh:// URLs.
-rw-r--r--roles/git/files/etc/cgitrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/git/files/etc/cgitrc b/roles/git/files/etc/cgitrc
index b862dc3..a7e33cd 100644
--- a/roles/git/files/etc/cgitrc
+++ b/roles/git/files/etc/cgitrc
@@ -1,29 +1,29 @@
#
# cgit config
# see cgitrc(5) for details
# Enable caching of up to 1000 output entries
cache-size=1000
# Specify some default clone url prefixes
-clone-url=https://$HTTP_HOST/$CGIT_REPO_NAME ssh://$HTTP_HOST/$CGIT_REPO_NAME
+clone-url=https://$HTTP_HOST/$CGIT_REPO_NAME ssh://gitolite@$HTTP_HOST/$CGIT_REPO_NAME
# Specify the css, logo and favicon urls
css=/static/cgit.css
logo=/static/cgit.png
favicon=/static/favicon.ico
# Show owner on index page
enable-index-owner=1
# Disallow dumb http transport git clone
enable-http-clone=0
# Show extra links for each repository on the index page
enable-index-links=1
# Enable ASCII art commit history graph on the log pages
enable-commit-graph=1
# Show number of affected files per commit on the log pages
enable-log-filecount=1