summaryrefslogtreecommitdiff
path: root/app/views/projects/repositories
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-12 22:24:19 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-12 22:24:19 +0300
commit6c6cdd23ff8241fd2f8c52143f102c9b914f5233 (patch)
treea3b7068b9eca204115930c2f4699d3d498aaf0c8 /app/views/projects/repositories
parent1bde927750b60d17334e188b70959059f3b00060 (diff)
downloadgitlab-ce-6c6cdd23ff8241fd2f8c52143f102c9b914f5233.tar.gz
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