diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-21 00:08:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-21 00:08:46 +0300 |
commit | ee7fba4b844935437233f6c5b74545a28bac4298 (patch) | |
tree | 4f954fb6c51abd3f67edfa22f9eb987cac09eb7f /app/models/repository.rb | |
parent | e0ab7eda1b1013e3246b0db28689b0749158f0bf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 4 |
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( |