summaryrefslogtreecommitdiff
path: root/app/models/repository.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-02-06 17:03:39 +0000
committerRémy Coutable <remy@rymai.me>2019-02-06 17:03:39 +0000
commitb0e2e76004500ddf21fa612fdedc2849d9d43cbe (patch)
tree8830b2bbe02e7ac5a4137e0f33c3ae5d231127db /app/models/repository.rb
parent4551ca22c49a26cb2bbcd3484691acad5d453c8f (diff)
parentf929411c6da8ddc890cd2d30df632984d1554ad3 (diff)
downloadgitlab-ce-b0e2e76004500ddf21fa612fdedc2849d9d43cbe.tar.gz
Merge branch 'sh-log-project-name-with-gitaly' into 'master'
Send project name with Gitaly repository requests Closes gitaly#1394 See merge request gitlab-org/gitlab-ce!23373
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index bfd2608bed4..7c50b4488e5 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -1104,6 +1104,9 @@ class Repository
end
def initialize_raw_repository
- Gitlab::Git::Repository.new(project.repository_storage, disk_path + '.git', Gitlab::GlRepository.gl_repository(project, is_wiki))
+ Gitlab::Git::Repository.new(project.repository_storage,
+ disk_path + '.git',
+ Gitlab::GlRepository.gl_repository(project, is_wiki),
+ project.full_path)
end
end