diff options
author | Alberto Bertogli <albertito@blitiri.com.ar> | 2012-11-30 14:50:23 +0100 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2013-03-10 00:23:52 +0100 |
commit | 18e8599bfa9dfcfef219ead9b655154fb729c1d7 (patch) | |
tree | ea7408c3abc15e738879eb0c6f00e7a6c1a81304 | |
parent | c303c30755b917c1377b831f2d37abf7841824c8 (diff) | |
download | git-arr-fork-18e8599bfa9dfcfef219ead9b655154fb729c1d7.zip |
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>
-rwxr-xr-x | git-arr | 2 | ||||
-rw-r--r-- | sample.conf | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -41,7 +41,7 @@ def load_config(path): 'web_url': '', 'web_url_file': 'web_url', 'git_url': '', - 'git_url_file': 'git_url', + 'git_url_file': 'cloneurl', } config = configparser.SafeConfigParser(defaults) diff --git a/sample.conf b/sample.conf index 1be7f8e..5a4db22 100644 --- a/sample.conf +++ b/sample.conf @@ -38,8 +38,8 @@ path = /srv/git/repo/ # File name to get the git URLs from (optional). # If git_url is not set, attempt to get its value from this file. -# Default: "git_url" -#git_url_file = git_url +# Default: "cloneurl" (same as gitweb). +#git_url_file = cloneurl # Do we look for repositories within this path? (optional). # This option enables a recursive, 1 level search for repositories within the |