diff options
author | James Lopez <james@gitlab.com> | 2018-01-10 08:20:47 +0000 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-01-15 13:16:44 -0600 |
commit | d368a2d676f95ceaabb4854198be9d23b6a4f2e1 (patch) | |
tree | 5aa7b3304aaf7ec0a4f74fe72fe253766d9e1219 /lib/gitlab/bare_repository_import/importer.rb | |
parent | edfddd5a7d0160b7473aa895e91c5a4ee42e865b (diff) | |
download | gitlab-ce-d368a2d676f95ceaabb4854198be9d23b6a4f2e1.tar.gz |
Merge branch 'sh-fix-bare-import-hooks' into 'master'
Fix hooks not being set up properly for bare import Rake task
Closes #41739
See merge request gitlab-org/gitlab-ce!16280
Diffstat (limited to 'lib/gitlab/bare_repository_import/importer.rb')
-rw-r--r-- | lib/gitlab/bare_repository_import/importer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/bare_repository_import/importer.rb b/lib/gitlab/bare_repository_import/importer.rb index 709a901aa77..884a3de8f62 100644 --- a/lib/gitlab/bare_repository_import/importer.rb +++ b/lib/gitlab/bare_repository_import/importer.rb @@ -63,6 +63,7 @@ module Gitlab log " * Created #{project.name} (#{project_full_path})".color(:green) project.write_repository_config + project.repository.create_hooks ProjectCacheWorker.perform_async(project.id) else |