Should pass repository rather than project
This commit is contained in:
parent
f071e3d3ca
commit
e7599eb0b7
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ class CompareService
|
|||
if target_project == source_project
|
||||
compare(source_sha, target_project, target_branch, straight)
|
||||
else
|
||||
target_project.repository.with_tmp_ref(source_project, source_branch) do
|
||||
target_project.repository.with_tmp_ref(
|
||||
source_project.repository, source_branch) do
|
||||
compare(source_sha, target_project, target_branch, straight)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue