[Lazarus] Patch: problems with LineEndings
Maxim Ganetsky
ganmax at narod.ru
Fri Mar 15 21:54:45 CET 2013
15.03.2013 17:28, Bart пишет:
> Hi,
>
> Maybe an RTFM question, but I didn't find an answer.
>
> I receive patches and they are in Unix style end-of-line (Lf) (and
> this I cannot control).
> My local sources are in Windows style (CrLf).
>
> I cannot get patch to apply the patchfile to my sources.
> I tried the option in patch that ignores whitespace, but it fails.
>
> In the end I converted the patchfile to have Windows end-of-line
> style, and that worked.
>
> I use patch that comes with fpc 2.6.2RC1.
>
> How to solve this?
Don't remember these problems with TortoiseSVN patch function.
--
Best regards,
Maxim Ganetsky mailto:ganmax at narod.ru
More information about the Lazarus
mailing list