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

Merge branch 'ee_compat_check-include-git-apply-reject-suggestion' into 'master'

Update ee_compat_check.rb to include `git apply --reject` suggestion

See merge request !11321

Former-commit-id: 3d44ec3f
parents 0b948526 84ac984f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -309,6 +309,17 @@ module Gitlab
U lib/gitlab/ee_compat_check.rb
 
Resolve them, stage the changes and commit them.
If the patch couldn't be applied cleanly, use the following command:
# In the EE repo
$ git apply --reject path/to/#{ce_branch}.patch
This option makes git apply the parts of the patch that are applicable,
and leave the rejected hunks in corresponding `.rej` files.
You can then resolve the conflicts highlighted in `.rej` by
manually applying the correct diff from the `.rej` file to the file with conflicts.
When finished, you can delete the `.rej` files and commit your changes.
 
⚠️ Don't forget to push your branch to gitlab-ee:
 
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