]> gitweb.ps.run Git - ps-cgit/blobdiff - cgitrc
Add support for automatic and custom clone urls
[ps-cgit] / cgitrc
diff --git a/cgitrc b/cgitrc
index 8c616e02a4f13abae8cc7952bddd694aa6bbff11..ce0c01bd689f473dc8c8f7e6da2342cec1c0b813 100644 (file)
--- a/cgitrc
+++ b/cgitrc
 #module-link=./?repo=%s&page=commit&id=%s
 
 
 #module-link=./?repo=%s&page=commit&id=%s
 
 
+## Shared prefix which, when combined with repo url, becomes the url used
+## to clone the repo
+#clone-prefix=
+
+
 ## Number of chars shown of repo description (in repolist view)
 #max-repodesc-length=60
 
 ## Number of chars shown of repo description (in repolist view)
 #max-repodesc-length=60
 
 #repo.enable-log-linecount=0                   ## override the default linecount setting
 #repo.module-link=/git/%s/commit/?id=%s                ## override the standard module-link
 #repo.readme=info/web/readme                   ## specify a file to include on summary page
 #repo.enable-log-linecount=0                   ## override the default linecount setting
 #repo.module-link=/git/%s/commit/?id=%s                ## override the standard module-link
 #repo.readme=info/web/readme                   ## specify a file to include on summary page
+#repo.clone-url=git://hjemli.net/pub/git/cgit
 
 ## Additional repositories grouped under "mirrors"
 #repo.group=mirrors
 
 #repo.url=git
 #repo.path=/pub/git/git
 
 ## Additional repositories grouped under "mirrors"
 #repo.group=mirrors
 
 #repo.url=git
 #repo.path=/pub/git/git
+#repo.clone-url=git://hjemli.net/pub/git/git
 #
 #repo.url=linux
 #repo.path=/pub/git/linux
 #
 #repo.url=linux
 #repo.path=/pub/git/linux