Generate the patch against origin/#{branch} instead of just #{branch}

This commit is contained in:
Rémy Coutable 2017-11-22 22:07:57 +00:00
parent eceec26795
commit f5ab0f52a1

View file

@ -91,7 +91,7 @@ module Gitlab
step(
"Generating the patch against #{remote}/master in #{patch_path}",
%W[git diff --binary #{remote}/master...#{branch}]
%W[git diff --binary #{remote}/master...origin/#{branch}]
) do |output, status|
throw(:halt_check, :ko) unless status.zero?