summaryrefslogtreecommitdiff
path: root/sample.conf
diff options
context:
space:
mode:
authorAlberto Bertogli <albertito@blitiri.com.ar>2015-11-07 12:54:22 +0100
committerAlberto Bertogli <albertito@blitiri.com.ar>2015-11-07 13:04:09 +0100
commitcacf2ee2cc9f291e5759b854126d25216ee01cd4 (patch)
tree88e9f1002703f3cc853ad3db138f398d4878b7c8 /sample.conf
parentc4e6484bb00e93b55e1f94f3464a40a3bd12f01f (diff)
downloadgit-arr-fork-cacf2ee2cc9f291e5759b854126d25216ee01cd4.zip
git-arr: Implement an "ignore" option
When having symbolic links to the same repositories (e.g. if you have "repo" and a "repo.git" linking to it), it can be useful to ignore based on regular expressions to avoid having duplicates in the output. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
Diffstat (limited to 'sample.conf')
-rw-r--r--sample.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/sample.conf b/sample.conf
index fb8bbdd..d91f5a7 100644
--- a/sample.conf
+++ b/sample.conf
@@ -67,6 +67,13 @@ path = /srv/git/repo/
# Default: no
#embed_images = no
+# Ignore repositories that match this regular expression.
+# Generally used with recursive = yes, to ignore repeated repositories (for
+# example, if using symlinks).
+# For ignoring specific repositories, putting a "disable_gitweb" is a much
+# better alternative.
+# Default: empty (don't ignore)
+#ignore = \.git$
# Another repository, we don't generate a tree for it because it's too big.
[linux]