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:
parent
c303c30755
commit
18e8599bfa
2
git-arr
2
git-arr
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user