Disable cgit's dumb HTTP protocol endpoint support

* modules/openstack_project/files/git/cgitrc: The dumb HTTP protocol
support in cgit is an attractive nuisance and source of surprising
random errors for users who misconfigure their repositories to use
it as a remote. We provide a separate smart HTTP backend and
configure cgit to list that as the clone URL anyway, so the default
enable-http-clone is disabled to avoid further accidental use.

Change-Id: Iacc34ba51cd835f7e999b753e06ef6eea41630df
This commit is contained in:
Jeremy Stanley 2014-12-10 18:45:27 +00:00
parent 4fda217d25
commit a20fb50be5

View File

@ -29,6 +29,9 @@ enable-index-owner=0
# Show extra links for each repository on the index page
enable-index-links=1
# Disable dumb HTTP git protocol endoint
enable-http-clone=0
# Add a cgit favicon
favicon=/static/favicon.ico