Generate the patch against origin/#{branch}
instead of just #{branch}
This commit is contained in:
parent
eceec26795
commit
f5ab0f52a1
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ module Gitlab
|
||||||
|
|
||||||
step(
|
step(
|
||||||
"Generating the patch against #{remote}/master in #{patch_path}",
|
"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|
|
) do |output, status|
|
||||||
throw(:halt_check, :ko) unless status.zero?
|
throw(:halt_check, :ko) unless status.zero?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue