Skip to content

Releases: twaugh/patchutils

0.4.3

26 Aug 13:48
0.4.3
Compare
Choose a tag to compare

Added --in-place option to more tools for editing files in place. Added --color option to interdiff with automatic terminal detection. Improved PCRE2 support and fixed various build issues. Added support for CRLF line endings in patch files. Fixed interdiff to reverse line counts correctly when reversing patches. Added bash completions and improved CI testing. Various bug fixes including use-after-free warnings, unused result warnings, and locale-related test failures. Updated documentation and example spec file.

Added new --as-numbered-lines options: original-before and original-after. These preserve original line numbers from the diff context, useful for CI/CD systems that need to report errors on exact line numbers from the original diff. Addresses GitHub issue #55.

Fixed rediff to preserve diff command headers in multi-file patches. Previously, rediff would remove "diff -rpU 3" command lines when processing patches with multiple files, breaking the patch format. Addresses GitHub issue #48.

Fixed recountdiff corruption of new file headers when git signature lines are present. Previously, recountdiff would incorrectly change "@@ -0,0 +1,N @@" to "@@ -1 +1,N @@" for new files in patches containing git signature lines (e.g., "-- \n2.50.1"), causing patch application to fail. Addresses GitHub issue #49.

0.4.2

17 Jul 12:43
0.4.2
00619c9
Compare
Choose a tag to compare

Fixed a packaging issue.

0.4.0

16 Jul 13:16
0.4.0
b338418
Compare
Choose a tag to compare

New patchview mode with accompanying scripts. New grepdiff option --only-match. New filterdiff option --remove-timestamps. Assorted other fixes and improvements.

0.3.4

20 Apr 19:34
0.3.4
Compare
Choose a tag to compare

Some fixes for filterdiff and rediff. The splitdiff utility now has an option to write output to a subdirectory. Ranges can now be prefixed by a modifier ('x') to exclude spans instead of include them. Extended headers produced by git are now handled by filterdiff and interdiff.