[Toybox] [PATCH]patch: support unified diffs with unusual timestamp formats
Rob Landley
rob at landley.net
Wed Aug 28 16:21:31 PDT 2019
On 8/28/19 5:15 PM, William Haddon wrote:
> I'm slightly confused about how the existing code is supposed to handle
> filenames with tabs followed by digits.
It doesn't, but I thought it would handle the rest of them. But it turns out it
doesn't because diff -u quotes filenames in that case, so I need to make a
bigger patch to dequote filenames and add test cases to the test suite for that.
(Hard part's figuring out which character trigger quoting, but I've got ls
torture test plumbing I can repurpose for that...)
And then yes, a tab would end the line. :)
Rob
More information about the Toybox
mailing list