Commit 4250c349152e252ff36bab54c53d7b267a5b1232

Authored by Dmitriy Zaporozhets
1 parent fd7c8c71

Make repo graph work for large repos on slower machines

Gemfile
... ... @@ -23,7 +23,7 @@ gem 'omniauth-github'
23 23  
24 24 # Extracting information from a git repository
25 25 # Provide access to Gitlab::Git library
26   -gem "gitlab_git", '2.0.1'
  26 +gem "gitlab_git", '2.1.0'
27 27  
28 28 # Ruby/Rack Git Smart-HTTP Server Handler
29 29 gem 'gitlab-grack', '~> 1.0.1', require: 'grack'
... ...
Gemfile.lock
... ... @@ -186,7 +186,7 @@ GEM
186 186 gitlab-pygments.rb (0.3.2)
187 187 posix-spawn (~> 0.3.6)
188 188 yajl-ruby (~> 1.1.0)
189   - gitlab_git (2.0.1)
  189 + gitlab_git (2.1.0)
190 190 activesupport (~> 3.2.13)
191 191 github-linguist (~> 2.3.4)
192 192 gitlab-grit (~> 2.6.0)
... ... @@ -578,7 +578,7 @@ DEPENDENCIES
578 578 gitlab-gollum-lib (~> 1.0.1)
579 579 gitlab-grack (~> 1.0.1)
580 580 gitlab-pygments.rb (~> 0.3.2)
581   - gitlab_git (= 2.0.1)
  581 + gitlab_git (= 2.1.0)
582 582 gitlab_meta (= 6.0)
583 583 gitlab_omniauth-ldap (= 1.0.3)
584 584 gon
... ...
app/views/projects/graphs/show.html.haml
... ... @@ -13,7 +13,7 @@
13 13 %option{:value => "deletions"} Deletions
14 14 %h3#date_header.page-title
15 15 %p.light
16   - Commits to #{@project.default_branch}, excluding merge commits. Limited by 8,000 commits
  16 + Commits to #{@project.default_branch}, excluding merge commits. Limited by 6,000 commits
17 17 %input#brush_change{:type => "hidden"}
18 18 .graphs
19 19 #contributors-master
... ...