Use "cloneurl" as a default for git_url

This patch makes git_url have the same default as gitweb.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
This commit is contained in:
Alberto Bertogli 2012-11-30 13:50:23 +00:00
parent c303c30755
commit 18e8599bfa
2 changed files with 3 additions and 3 deletions

@ -41,7 +41,7 @@ def load_config(path):
'web_url': '', 'web_url': '',
'web_url_file': 'web_url', 'web_url_file': 'web_url',
'git_url': '', 'git_url': '',
'git_url_file': 'git_url', 'git_url_file': 'cloneurl',
} }
config = configparser.SafeConfigParser(defaults) config = configparser.SafeConfigParser(defaults)

@ -38,8 +38,8 @@ path = /srv/git/repo/
# File name to get the git URLs from (optional). # File name to get the git URLs from (optional).
# If git_url is not set, attempt to get its value from this file. # If git_url is not set, attempt to get its value from this file.
# Default: "git_url" # Default: "cloneurl" (same as gitweb).
#git_url_file = git_url #git_url_file = cloneurl
# Do we look for repositories within this path? (optional). # Do we look for repositories within this path? (optional).
# This option enables a recursive, 1 level search for repositories within the # This option enables a recursive, 1 level search for repositories within the