summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-07-11 16:06:38 -0500
committerClement Ho <ClemMakesApps@gmail.com>2017-07-11 16:06:38 -0500
commit8119c444b319bcf4a8305437a648ec630969d251 (patch)
treeb2f84d25c290993055eb9ac93ca24bee55feb034
parent6eeb6384349b19ec21b667a080893e4facd9b591 (diff)
downloadgitlab-ce-8119c444b319bcf4a8305437a648ec630969d251.tar.gz
Add namespace for Blob
-rw-r--r--lib/gitlab/git/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index e51966313d4..26581a3cc1b 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -930,7 +930,7 @@ module Gitlab
return unless commit_object && commit_object.type == :COMMIT
- gitmodules = gitaly_commit_client.tree_entry(ref, '.gitmodules', Blob::MAX_DATA_DISPLAY_SIZE)
+ gitmodules = gitaly_commit_client.tree_entry(ref, '.gitmodules', Gitlab::Git::Blob::MAX_DATA_DISPLAY_SIZE)
found_module = GitmodulesParser.new(gitmodules.data).parse[path]
found_module && found_module['url']