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

Improve `Gitlab::EeCompatCheck` by using the `git apply --3way` flag

This should solve 99% of the false-positive of the `ee_compat_check` job.
parent 91335c59
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -119,7 +119,7 @@ module Gitlab
step("Reseting to latest master", %w[git reset --hard origin/master])
 
step("Checking if #{patch_path} applies cleanly to EE/master")
output, status = Gitlab::Popen.popen(%W[git apply --check #{patch_path}])
output, status = Gitlab::Popen.popen(%W[git apply --check --3way #{patch_path}])
 
unless status.zero?
failed_files = output.lines.reduce([]) do |memo, line|
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