[fpc-pascal] [Semi-OT] Git format patches don't seem to work

Marco van de Voort marcov at stack.nl
Tue Oct 4 13:14:47 CEST 2011


In our previous episode, Reinier Olislagers said:
> Having some trouble creating patches that actually work.
> (On Windows)
> I've been using git to get FPC trunk and
> git diff --no-prefix > %temp%\mypatch.diff
> rem --no-prefix : Do not show any source or destination prefix.
> to create patches.

I don't know about GIT, but some tips:

1. Play with lineending.  (I use cygwin's dos2unix and unix2dos to convert)
2. Also make sure that the generated diffs are in the universal format.



More information about the fpc-pascal mailing list