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

Merge branch 'also-show-diff' into 'master'

ee-specific-lines-check, Show diff because git status might not be readable

See merge request gitlab-org/gitlab-ee!6576
parents dfdd189c 5c502ad5
......@@ -99,6 +99,7 @@ module EESpecificCheck
if status.porcelain == ''
status.head
else
diff = run_git_command("diff")
run_git_command("merge --abort")
say <<~MESSAGE
......@@ -106,9 +107,9 @@ module EESpecificCheck
💥 #{ce_fetch_head} with canonical-ce/master. Please resolve
💥 the conflict from CE master and retry this job.
⚠️ Git status:
⚠️ Git diff:
#{status.porcelain}
#{diff}
MESSAGE
exit(254)
......
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