Nathan Lay
2017-04-18 16:03:39 UTC
Hello again,
I made all my modifications of MITK on Linux and committed them into my
local git repository (cloned from your repository). Then I cloned my
repository onto Windows where I found that patch.exe crashes during the
build phase. Apparently this is due to CRLF issues. So, how do you work
around that without having to start over on a special non-versioned tarball
of the source code just for Windows? I would think that your .gitattributes
would have done the trick here. It looks pretty extensive.
Can I just do a find and run unix2dos on certain files? Which exactly? Just
the .cmake files or does patch run on anything else?
References:
https://www.mail-archive.com/mitk-***@lists.sourceforge.net/msg06562.html
https://www.mail-archive.com/mitk-***@lists.sourceforge.net/msg06427.html
Best regards,
Nathan Lay
I made all my modifications of MITK on Linux and committed them into my
local git repository (cloned from your repository). Then I cloned my
repository onto Windows where I found that patch.exe crashes during the
build phase. Apparently this is due to CRLF issues. So, how do you work
around that without having to start over on a special non-versioned tarball
of the source code just for Windows? I would think that your .gitattributes
would have done the trick here. It looks pretty extensive.
Can I just do a find and run unix2dos on certain files? Which exactly? Just
the .cmake files or does patch run on anything else?
References:
https://www.mail-archive.com/mitk-***@lists.sourceforge.net/msg06562.html
https://www.mail-archive.com/mitk-***@lists.sourceforge.net/msg06427.html
Best regards,
Nathan Lay