diff: Nits in tests.Sponsored by: Klara, Inc.
libdiff: Add a test for the truncation issue.Sponsored by: Klara, Inc.Reviewed by: allanjudeDifferential Revision: https://reviews.freebsd.org/D45218
diff: Integrate libdiff from OpenBSD GoT.This adds support for two new diff algorithms, Myers diff and Patiencediff.These algorithms perform a different form of search compared to theclassic St
diff: Integrate libdiff from OpenBSD GoT.This adds support for two new diff algorithms, Myers diff and Patiencediff.These algorithms perform a different form of search compared to theclassic Stone algorithm and support escapes when worst case scenariosare encountered.Add the -A flag to allow selection of the algorithm, but default tousing the new Myers diff implementation.The libdiff implementation currently only supports a subset of input andoutput options supported by diff. When these options are used, but thealgorithm is not selected, automatically fallback to the classic Stonealgorithm until support for these modes can be added.Based on work originally done by thj@ with contributions from kevans@.Sponsored by: Klara, Inc.Reviewed by: thjDifferential Revision: https://reviews.freebsd.org/D44302
show more ...