aboutsummaryrefslogtreecommitdiffstats
path: root/custom/conf
diff options
context:
space:
mode:
authorKjell Kvinge <kjell@kvinge.biz>2018-07-23 16:12:06 +0200
committerLauris BH <lauris@nix.lv>2018-07-23 17:12:06 +0300
commitba358ecbf5d58dc6b2f166a84a4b6c6633cfa397 (patch)
treea7d9949483e00fc01b071c1560705e6055a96e8d /custom/conf
parentae9dd239fbfc3b9f18ff2ccbdbe6fdf236db2b36 (diff)
downloadgitea-ba358ecbf5d58dc6b2f166a84a4b6c6633cfa397.tar.gz
gitea-ba358ecbf5d58dc6b2f166a84a4b6c6633cfa397.zip
Make max commits in graph configurable (#4498)
Diffstat (limited to 'custom/conf')
-rw-r--r--custom/conf/app.ini.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index f087e9913b..12e50e8cb7 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -67,6 +67,8 @@ EXPLORE_PAGING_NUM = 20
ISSUE_PAGING_NUM = 10
; Number of maximum commits displayed in one activity feed
FEED_MAX_COMMIT_NUM = 5
+; Number of maximum commits displayed in commit graph.
+GRAPH_MAX_COMMIT_NUM = 100
; Value of `theme-color` meta tag, used by Android >= 5.0
; An invalid color like "none" or "disable" will have the default style
; More info: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android