diff options
author | Chester Liu <skyline75489@outlook.com> | 2021-01-19 12:07:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 05:07:38 +0100 |
commit | 0c0445c97a9219f7a9f7f2afd618b31bf958e14f (patch) | |
tree | fb8892bd34ac055f57887a26e1444f1dd919ef4c /custom | |
parent | 8d0e331c0abcda2a6da16c3eafecc98d38a8d4ae (diff) | |
download | gitea-0c0445c97a9219f7a9f7f2afd618b31bf958e14f.tar.gz gitea-0c0445c97a9219f7a9f7f2afd618b31bf958e14f.zip |
Add pager to the branches page (#14202)
* Add pager to the branches page
* override pageSize if bigger than max
* Make branches commit range configurable
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 3920f5112c..8921e3a5de 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1098,6 +1098,10 @@ MAX_GIT_DIFF_LINES = 1000 MAX_GIT_DIFF_LINE_CHARACTERS = 5000 ; Max number of files shown in diff view MAX_GIT_DIFF_FILES = 100 +; Set the default commits range size +COMMITS_RANGE_SIZE = 50 +; Set the default branches range size +BRANCHES_RANGE_SIZE = 20 ; Arguments for command 'git gc', e.g. "--aggressive --auto" ; see more on http://git-scm.com/docs/git-gc/ GC_ARGS = |