From 18e8599bfa9dfcfef219ead9b655154fb729c1d7 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Fri, 30 Nov 2012 13:50:23 +0000 Subject: [PATCH] Use "cloneurl" as a default for git_url This patch makes git_url have the same default as gitweb. Signed-off-by: Alberto Bertogli --- git-arr | 2 +- sample.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/git-arr b/git-arr index 17f681f..69d10cb 100755 --- a/git-arr +++ b/git-arr @@ -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