From e350d277690773bf0cca5da00718a73262d69149 Mon Sep 17 00:00:00 2001 From: kongr45gpen Date: Thu, 18 May 2017 03:20:12 +0300 Subject: Add support for specifying the maximum commit count --- config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.py') diff --git a/config.py b/config.py index 85c3a02..b7faba3 100644 --- a/config.py +++ b/config.py @@ -93,4 +93,7 @@ conf.registerChannelValue(Github, 'alwaysShowForcedPushes', registry.Boolean(True, """Whether to always show force-pushes, even if hidePush is set to True""")) +conf.registerChannelValue(Github, 'maxCommitCount', + registry.Integer(7, + """The maximum number of commits to show (0 to disable)""")) # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: -- cgit v1.2.3