Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-21 00:08:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-21 00:08:46 +0300
commitee7fba4b844935437233f6c5b74545a28bac4298 (patch)
tree4f954fb6c51abd3f67edfa22f9eb987cac09eb7f /app/models/repository.rb
parente0ab7eda1b1013e3246b0db28689b0749158f0bf (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index a509315d94f..ebb653cabce 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -1094,6 +1094,10 @@ class Repository
message: message)
end
+ def submodule_links
+ @submodule_links ||= ::Gitlab::SubmoduleLinks.new(self)
+ end
+
def update_submodule(user, submodule, commit_sha, message:, branch:)
with_cache_hooks do
raw.update_submodule(