Skip to content
Snippets Groups Projects
Commit f5ab0f52 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

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

parent eceec267
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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?
 
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