I’m wondering if it is possible to write my own custom merger and use it in place of the standard one.
The only idea that comes to mind is to put it into config as merge.tool, but that will make it run AFTER the standard git-merge, not instead of it.
Thanks!
Read gitattributes documentation: