Commit f5ab0f52 authored by Rémy Coutable's avatar Rémy Coutable

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

parent eceec267
......@@ -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?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment