From 9ef78aaffd9ca5100659b8737cbd41523be330e2 Mon Sep 17 00:00:00 2001 From: Eric Sunshine Date: Wed, 31 Dec 2014 04:50:12 -0500 Subject: git-arr: interpret 'max_pages = 0' as unlimited By default, git-arr limits the number of pages of commits to 5, however, it is reasonable to expect that some projects will want all commits to be shown. Rather than forcing such projects to choose an arbitrarily large number as the value of 'max_pages', provide a formal mechanism to specify unlimited commit pages. Signed-off-by: Eric Sunshine Signed-off-by: Alberto Bertogli --- sample.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sample.conf') diff --git a/sample.conf b/sample.conf index 2ad25f0..705a022 100644 --- a/sample.conf +++ b/sample.conf @@ -19,7 +19,8 @@ path = /srv/git/repo/ # Maximum number of per-branch pages for static generation (optional). # When generating static html, this is the maximum number of pages we will -# generate for each branch's commit listings. +# generate for each branch's commit listings. Zero (0) means unlimited. +# Default: 5 #max_pages = 5 # Project website (optional). -- cgit v1.2.3