Debian Codegraph @

NEWS

raw
1 Patchutils news
2 ---------------
3
4 0.4.5 (stable)
5
6 Reverted incompatible behavior change from version 0.4.4. In 0.4.4,
7 Git diffs without content hunks (renames, copies, mode-only changes,
8 binary files) were included in output and file numbering, breaking
9 compatibility with 0.4.3 and earlier versions. This caused file numbers
10 to change for scripts using -N/-F options. The 0.4.3 behavior has been
11 restored as the default: these diffs are now excluded from output and
12 numbering. Added --git-extended-diffs option to control this behavior:
13 use --git-extended-diffs=include to get the 0.4.4 behavior if needed.
14 The default will change to 'include' in version 0.5.0 for modern Git
15 workflow support. Addresses GitHub issue #157.
16
17 Fixed grepdiff -s/--status to display correct file status indicators.
18 Previously, grepdiff -s incorrectly showed '!' (modification) for all
19 matching files regardless of whether they were additions, deletions,
20 or modifications. Now correctly shows '+' for file additions, '-' for
21 file removals, and '!' for file modifications. Added comprehensive
22 test coverage for grepdiff -s with both unified and context diff
23 formats. Documented and enabled --empty-files-as-absent option for
24 grepdiff (long form only, as -E is used for --extended-regexp).
25
26 Improved error handling for command pipelines. Fixed pipe handling
27 to properly propagate errors when commands in a pipeline fail, and
28 corrected stdout/stdin piping behavior (stderr is no longer redirected
29 to pipes). Addresses GitHub issue #140.
30
31 Replaced old Git/SVN patchview scripts with unified patchview-wrapper.
32 The gitdiff, gitdiffview, gitshow, gitshowview, svndiff, and svndiffview
33 commands are now symlinks to a single patchview-wrapper script with
34 improved pipeline handling and debug support. Symlinks are now
35 automatically generated during installation rather than tracked in
36 source control.
37
38 Documentation improvements. Enhanced grepdiff documentation with better
39 organization and comprehensive examples showing different output modes.
40 Clarified bootstrap requirements in README.md. Restored move-to-front
41 script to package.
42
43 Build system and CI improvements. Updated GitHub Actions CI to run on
44 0.4.x branch. Conditionally enabled building from Git repository.
45 Updated spec file and .gitignore files.
46
47 Fixed binary file handling in lsdiff and filterdiff. Binary files now
48 receive sequential file numbers instead of duplicate numbers when using
49 lsdiff -N. Fixed filterdiff -F (file number filter) to properly filter
50 binary file messages - previously binary file "Binary files ... differ"
51 messages were not being filtered and would appear in output regardless
52 of the requested file number. Addresses GitHub issue #157.
53
54 0.4.4 (stable)
55
56 Enhanced Git diff format support in filterdiff/lsdiff/grepdiff.
57 Improved handling of Git diffs without traditional hunks,
58 including proper support for file renames, binary file changes,
59 and permission mode changes. Fixed exclusion filtering (-x) for
60 multi-file Git diffs to prevent orphaned headers. Enhanced filename
61 extraction to properly strip Git's a/ and b/ prefixes for consistent
62 output. Added --git-prefixes=strip|keep option to control handling
63 of Git filename prefixes, with 'keep' as default for backward
64 compatibility (will change to 'strip' in version 0.5.0).
65 Addresses GitHub issues #22, #27, #59, and #68.
66
67 Fixed interdiff --color option handling and improved color output.
68 Replaced external diff --color dependency with internal ANSI color
69 codes. Addresses GitHub issue #119.
70
71 Code improvements and build system enhancements. Added redirectfd()
72 utility function to redirect stdout without reassignment. Enhanced
73 CI testing with musl support for better compatibility testing.
74 Fixed bash completion symlinks for better installation. Made
75 grepdiff test case PCRE-aware to handle different regex library
76 configurations properly. Addresses GitHub issues #61, #91, and #93.
77 Updated spec file.
78
79 Added manual pages for gitdiff, gitdiffview, svndiff, and svndiffview
80 commands. Addresses GitHub issue #112.
81
82 Updated bash completions.
83
84 0.4.3 (stable)
85
86 Added --in-place option to more tools for editing files in place.
87 Added --color option to interdiff with automatic terminal detection.
88 Improved PCRE2 support and fixed various build issues. Added support
89 for CRLF line endings in patch files. Fixed interdiff to reverse line
90 counts correctly when reversing patches. Added bash completions and
91 improved CI testing. Various bug fixes including use-after-free
92 warnings, unused result warnings, and locale-related test failures.
93 Updated documentation and example spec file.
94
95 Added new --as-numbered-lines options: original-before and original-after.
96 These preserve original line numbers from the diff context, useful for
97 CI/CD systems that need to report errors on exact line numbers from the
98 original diff. Addresses GitHub issue #55.
99
100 Fixed rediff to preserve diff command headers in multi-file patches.
101 Previously, rediff would remove "diff -rpU 3" command lines when
102 processing patches with multiple files, breaking the patch format.
103 Addresses GitHub issue #48.
104
105 Fixed recountdiff corruption of new file headers when git signature
106 lines are present. Previously, recountdiff would incorrectly change
107 "@@ -0,0 +1,N @@" to "@@ -1 +1,N @@" for new files in patches containing
108 git signature lines (e.g., "-- \n2.50.1"), causing patch application
109 to fail. Addresses GitHub issue #49.
110
111 0.4.2 (stable)
112
113 Build system improvements: only run xmlto once during documentation
114 generation.
115
116 0.4.0 (stable)
117
118 Added patchview utility for interactive patch viewing. Added PCRE2
119 library support as an alternative to PCRE. Added --only-match option
120 to grepdiff. Improved interdiff to provide more context when requested
121 and better handle whitespace damage. Fixed various issues including
122 hunk trimming, header output, context conversion, and handling of NUL
123 characters in patches. Updated FSF addresses and fixed resource leaks.
124 Improved test suite with parallel testing support.
125
126 0.3.4 (stable)
127
128 Some fixes for filterdiff and rediff. The splitdiff utility
129 now has an option to write output to a subdirectory. Ranges
130 can now be prefixed by a modifier ('x') to exclude spans
131 instead of include them. Extended headers produced by git are
132 now handled by filterdiff and interdiff.
133
134 0.3.3 (stable)
135
136 Context output format for "no newline" lines has been fixed.
137 The splitdiff utility now has an option to disable ".patch"
138 filename extensions. Some fixes for bugs spotted by
139 Coverity. Interdiff can now use "-" (stdin) for one of the
140 inputs.
141
142 0.3.2 (stable)
143
144 Interdiff had previously been putting absolute filenames in
145 the input to the patch program. It now avoids doing this.
146 Editdiff no longer runs rediff when no changes were made in
147 the editor. The correct exit status is now set when the
148 decompress option fails. A temporary file leak has been
149 fixed. The documentation has been updated.
150
151 0.3.0 (stable)
152
153 The lsdiff -H option is now the default, and new options have
154 been added to filterdiff for reading inclusion/exclusion
155 patterns from files, and for removing non-diff lines.