[fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

Reinier Olislagers reinierolislagers at gmail.com
Fri Oct 7 12:52:17 CEST 2011

On 7-10-2011 9:15, Graeme Geldenhuys wrote:
> I don't think that is needed. I believe the 'patch' program will sort
> that out by itself. I have sent numerous patches to FPC and Lazarus
> (both those repositories are git ones on my Linux system). Nobody has
> ever complained that the EOL style was wrong. I also don't specify the
> --no-prefix when creating patches. Again, the 'patch' program can handle
> those a/... b/... prefixes for the committer without problems.

Tried on Debian with subversion, build-essential installed:
Normal git diff: patch < git.diff
doesn't work - will need patch -p1 < git.diff

More information about the fpc-pascal mailing list