tags 484539 confirmed
thanks

Hi Christoph,

Re: Christoph Biedl 2008-06-04 <[EMAIL PROTECTED]>
> I had some trouble applying a patch that was created using diff between
> two files with CRLF line endings.  That process is out of my control
> and cannot be changed.
> 
> As far as I can tell, the created diff has CRLF line endings like the
> files; patch however drops the CR first but fails find a matching line
> in the file to be patched then as the CR still exists there.

Confirmed.

Btw, it works when using unified (diff -u) or context (diff -c) diffs.
patch is not very good in general with normal (diff --normal) diffs,
due to the missing context. Maybe your workflow allows that part being
changed.

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to