I have a Windows based PHP project (CRLF Newlines) that wasn't in any kind of version control. I've recently put that project into Git on my OSX machine. Another developer made changes to the source (on a separate machine) while it wasn't in Git and now I have to merge those changes into the repo.
My original plan was to use diff/patch to get everything synced up. Problem with this is that he made his updates on OSX so I have to convert the newlines in order to make diff/patch work.
Is there a way to make diff work with the CRLF newlines? From what I've read you have to do the conversion first to LF before applying diff.
If not, do I just have to recursively go through all the files and do the newline conversion?
Am I even going about updating this repo in the appropriate way?