From 6c6cdd23ff8241fd2f8c52143f102c9b914f5233 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 12 Jun 2014 22:24:19 +0300 Subject: [PATCH] Prevent timeout for Commits#stats page for huge repos --- app/views/projects/repositories/stats.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/repositories/stats.html.haml b/app/views/projects/repositories/stats.html.haml index fd35397..70db27d 100644 --- a/app/views/projects/repositories/stats.html.haml +++ b/app/views/projects/repositories/stats.html.haml @@ -5,7 +5,7 @@ %hr %p %b Total commits: - %span= @stats.commits_count + %span= @repository.commit_count %p %b Total files in #{@repository.root_ref}: %span= @stats.files_count -- libgit2 0.21.2