aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r--routers/repo/commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index 0153ccfe..a2752fdd 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -52,7 +52,7 @@ func renderCommits(ctx *context.Context, filename string) {
}
pageSize := ctx.QueryInt("pageSize")
if pageSize < 1 {
- pageSize = git.DEFAULT_COMMITS_PAGE_SIZE
+ pageSize = git.DefaultCommitsPageSize
}
// Both 'git log branchName' and 'git log commitID' work.