diff options
Diffstat (limited to 'app/models/merge_request.rb')
-rw-r--r-- | app/models/merge_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb index 5d4c318..2b9a61b 100644 --- a/app/models/merge_request.rb +++ b/app/models/merge_request.rb @@ -382,7 +382,7 @@ class MergeRequest < ActiveRecord::Base def push_to_tracking_repository! merge_request_repo = target_repository.tracking_repository branch_spec = "#{ending_commit}:refs/reviews/#{id}" - source_repository.git.git.push({}, merge_request_repo.full_repository_path, branch_spec) + source_repository.git.git.push({}, merge_request_repo.full_repository_path, "#{branch_spec}/1") source_repository.git.git.push({}, target_repository.full_repository_path, branch_spec) end end |