summaryrefslogtreecommitdiff
path: root/lib/gitlab/code_navigation_path.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-07-07 15:08:49 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-07 15:08:49 +0000
commita93bf027c2619af8c11b030414c339346f13ead6 (patch)
tree283f1b4096a255a535a79c60ebe2445a9e5df4d2 /lib/gitlab/code_navigation_path.rb
parent0254867cf0f3341fd63cc6da07290f1da91f99ef (diff)
downloadgitlab-ce-a93bf027c2619af8c11b030414c339346f13ead6.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/code_navigation_path.rb')
-rw-r--r--lib/gitlab/code_navigation_path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/code_navigation_path.rb b/lib/gitlab/code_navigation_path.rb
index faf623faccf..0a182ed7181 100644
--- a/lib/gitlab/code_navigation_path.rb
+++ b/lib/gitlab/code_navigation_path.rb
@@ -5,7 +5,7 @@ module Gitlab
include Gitlab::Utils::StrongMemoize
include Gitlab::Routing
- LATEST_COMMITS_LIMIT = 10
+ LATEST_COMMITS_LIMIT = 2
def initialize(project, commit_sha)
@project = project