Skip Menu |

This queue is for tickets about the VCS-Lite CPAN distribution.

Report information
The Basics
Id: 12868
Status: resolved
Priority: 0/
Queue: VCS-Lite

People
Owner: Nobody in particular
Requestors: colin.robertson [...] bbc.co.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.07
Fixed in: (no value)

Attachments
incomplete-lines.tar.gz



Subject: Handling incomplete lines
VCS-Lite-0.07 doesn't have any handling of "incomplete lines" (lines without terminating line breaks) as described at http://www.gnu.org/software/diffutils/manual/html_mono/diff.html#Incomplete%20Lines The VCS::Lite::Delta::diff and ::udiff methods generate malformed diffs when dealing with incomplete lines, and there is no support for patching when the patch contains the "\ No newline at end of file" marker. The attached patch implements support for both generating and applying diffs with the "\ No newline at end of file" marker. (The four files in the data directory are test data referenced by the test scripts.) colin
Download incomplete-lines.tar.gz
application/x-gzip 1.7k

Message body not shown because it is not plain text.

This is now fixed in version 0.08