Commit e9be9d36 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '6856-print-conflicted-diff' into 'master'

Show the conflicted diff only in ee-specific-lines-check

Closes #6856

See merge request gitlab-org/gitlab-ee!6435
parents 630f4789 3adc42c1
......@@ -159,6 +159,7 @@ module EESpecificCheck
if status.porcelain == ''
status.head
else
diff = run_git_command("diff")
run_git_command("rebase --abort")
say <<~MESSAGE
......@@ -182,9 +183,9 @@ module EESpecificCheck
💥 If you would like to help, or have any questions, please
💥 contact @godfat
⚠️ Git status:
⚠️ Git diff:
#{status.porcelain}
#{diff}
MESSAGE
exit(255)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment