I am trying to create a diff file using the Linux diff command that has markers like this (taken from diff3 man page):
<<<<<<< mine
lines from mine
=======
lines from yours
>>>>>>> yours
This format is very intuitive for me and allows me to easily fix merge conflicts in vim and it works great when I am trying to merge three files (mine, yours and original) using diff3 but I would like the same format from plain diff. I was hoping this would be simple but I have not been able to get it. I have tried most of the main options (-e,--ed, etc.) and even tried to create a --changed-group-format but was unsuccessful.
Hopefully this is something simple that I just overlooked.
UPDATE:
Two file diff example with added line, removed line and conflict line: