I'm maintaining a fork of an open source project where we pull approximately every month from upstream in order not to branch too much.
When I tried to pull from upstream this month I found out they ran prettify (or some other equivalent) over the entire code (~15,000 files) and virtually every change we've made in our fork since the last pull (and there were quite a lot) causes conflicts.
Anyone ever ran into this issue? Would appreciate any help if there's any way to merge this faster than manually 3-way merging every file.
Thank you.
EDIT: I do not have write access to the upstream project, from my perspective it's read only.
If it is a tool you have acess to, the way with the least effort (and losing history) would be:
You might use the same concept if you want to rewrite all the intermediate downstream revisions instead of having a single revisiom with all those changes.... it's just more work.