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/services/git/branch_push_service.rb')
-rw-r--r--app/services/git/branch_push_service.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/services/git/branch_push_service.rb b/app/services/git/branch_push_service.rb
index 5bf39d98fa3..13223872e4f 100644
--- a/app/services/git/branch_push_service.rb
+++ b/app/services/git/branch_push_service.rb
@@ -26,7 +26,6 @@ module Git
enqueue_detect_repository_languages
execute_related_hooks
- perform_housekeeping
stop_environments
unlock_artifacts
@@ -71,13 +70,6 @@ module Git
BranchHooksService.new(project, current_user, params).execute
end
- def perform_housekeeping
- housekeeping = Repositories::HousekeepingService.new(project)
- housekeeping.increment!
- housekeeping.execute if housekeeping.needed?
- rescue Repositories::HousekeepingService::LeaseTaken
- end
-
def removing_branch?
Gitlab::Git.blank_ref?(newrev)
end