Hi Eric,

Did you try git config --global core.autocrlf true ?
https://www.git-scm.com/book/en/v2/Customizing-Git-Git-Configuration

It appends CR+LF to end of all lines when you checkout source files.

2017-12-21 9:06 GMT+09:00 Eric Wing <ewmail...@gmail.com>:

> >
> > git clone https://github.com/apple/swift.git
> > cd swift
> > git checkout swift-4.0.2-RELEASE
> > patch -p1 < swift.patch
> > cd ..
>
> I'm having trouble applying the patches. I think it is due to the
> Windows line endings. Is there an easy way to work around this to
> apply the patches?
>
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to