Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-12 23:24:19 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-12 23:24:19 +0400
commit6c6cdd23ff8241fd2f8c52143f102c9b914f5233 (patch)
treea3b7068b9eca204115930c2f4699d3d498aaf0c8 /app/views/projects/repositories
parent1bde927750b60d17334e188b70959059f3b00060 (diff)
Prevent timeout for Commits#stats page for huge repos
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/repositories')
-rw-r--r--app/views/projects/repositories/stats.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/repositories/stats.html.haml b/app/views/projects/repositories/stats.html.haml
index fd353978572..70db27d6444 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