diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/services/batched_git_ref_updates/project_cleanup_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/batched_git_ref_updates/project_cleanup_service.rb b/app/services/batched_git_ref_updates/project_cleanup_service.rb index f9518cad975..7367c8be1d1 100644 --- a/app/services/batched_git_ref_updates/project_cleanup_service.rb +++ b/app/services/batched_git_ref_updates/project_cleanup_service.rb @@ -28,7 +28,7 @@ module BatchedGitRefUpdates refs = batch.map(&:ref) refs.each_slice(GITALY_BATCH_SIZE) do |refs_to_delete| - project.repository.delete_refs(*refs_to_delete) + project.repository.delete_refs(*refs_to_delete.uniq) end total_deletes += refs.count |