mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
Fetch to mr code from fork to iid
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -432,7 +432,7 @@ class MergeRequest < ActiveRecord::Base
|
||||
target_project.repository.fetch_ref(
|
||||
source_project.repository.path_to_repo,
|
||||
"refs/heads/#{source_branch}",
|
||||
"refs/merge-requests/#{id}/head"
|
||||
"refs/merge-requests/#{iid}/head"
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user