Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-11-23 01:07:57 +0300
committerRémy Coutable <remy@rymai.me>2017-11-23 01:26:36 +0300
commitf5ab0f52a10d23f300338a29389f78cf8cda1136 (patch)
tree9b8093a99133a118f2f049362cbd74562c64bba4 /lib/gitlab/ee_compat_check.rb
parenteceec26795b5227110f2209acbcc6aa6a21ba108 (diff)
Generate the patch against `origin/#{branch}` instead of just `#{branch}`
Diffstat (limited to 'lib/gitlab/ee_compat_check.rb')
-rw-r--r--lib/gitlab/ee_compat_check.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ee_compat_check.rb b/lib/gitlab/ee_compat_check.rb
index ac730278ca7..66b2c60e8eb 100644
--- a/lib/gitlab/ee_compat_check.rb
+++ b/lib/gitlab/ee_compat_check.rb
@@ -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?