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:
Diffstat (limited to 'app/models/project/repository_trait.rb')
-rw-r--r--app/models/project/repository_trait.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project/repository_trait.rb b/app/models/project/repository_trait.rb
index 2cd8159ad81..d8bdbf2403b 100644
--- a/app/models/project/repository_trait.rb
+++ b/app/models/project/repository_trait.rb
@@ -37,6 +37,10 @@ module Project::RepositoryTrait
end
end
+ def satellite
+ @satellite ||= Gitlabhq::Satellite.new(self)
+ end
+
def write_hook(name, content)
hook_file = File.join(path_to_repo, 'hooks', name)