Skip to content
Snippets Groups Projects
Unverified Commit 8dce6623 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fetch to mr code from fork to iid

parent 4b7c2f0b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment