Add better defaults for clone-prefix

It would be better for the default value of clone-prefix to be fqdn
instead of empty string.

Change-Id: I952ab0421496f52b1a539c2b4cbc197d5105072f
Depends-On: Ie96e046febcacc5359fe449b82ee6f32bcac9287
This commit is contained in:
Timothy Chavez 2015-07-21 15:13:19 -05:00
parent c432dcd189
commit 8067a3a9fc
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class cgit(
'cache-dynamic-ttl' => 1,
'cache-repo-ttl' => 1,
'cache-root-ttl' => 1,
'clone-prefix' => '',
'clone-prefix' => "git://${::fqdn} https://${::fqdn}",
'enable-index-owner' => 0,
'enable-index-links' => 1,
'enable-http-clone' => 0,