Utilities to list, search, filter, combine,
split, correct, or fix patch files.
Some operations may be applied directly to git, svn,
or cvs diffs if those packages are installed.
For more information see the project home page:
https://directory.fsf.org/wiki/Patchutils
https://cyberelk.net/tim/software/patchutils
https://github.com/twaugh/patchutils/blob/master/README.md
The following packages have been upgraded in the Cygwin distribution:
- patchutils 0.4.5
See below for details of changes since the last Cygwin release:
https://github.com/twaugh/patchutils/blob/0.4.5/NEWS
2026-02-27 0.4.5
- Reverted incompatible behavior change from version 0.4.4.
In 0.4.4, Git diffs without content hunks (renames, copies, mode-only
changes, binary files) were included in output and file numbering,
breaking compatibility with 0.4.3 and earlier versions.
This caused file numbers to change for scripts using -N/-F options.
The 0.4.3 behavior has been restored as the default: these diffs are
now excluded from output and numbering.
Added --git-extended-diffs option to control this behavior: use
--git-extended-diffs=include to get the 0.4.4 behavior if needed.
The default will change to 'include' in version 0.5.0 for modern Git
workflow support.
- Fixed grepdiff -s/--status to display correct file status indicators.
Previously, grepdiff -s incorrectly showed '!' (modification) for all
matching files regardless of whether they were additions, deletions,
or modifications.
Now correctly shows '+' for file additions, '-' for file removals, and
'!' for file modifications.
Added comprehensive test coverage for grepdiff -s with both unified
and context diff formats.
Documented and enabled --empty-files-as-absent option for grepdiff
(long form only, as -E is used for --extended-regexp).
- Improved error handling for command pipelines.
Fixed pipe handling to properly propagate errors when commands in a
pipeline fail, and corrected stdout/stdin piping behavior (stderr is
no longer redirected to pipes).
- Replaced old Git/SVN patchview scripts with unified patchview-wrapper.
The gitdiff, gitdiffview, gitshow, gitshowview, svndiff, and
svndiffview commands are now symlinks to a single patchview-wrapper
script with improved pipeline handling and debug support.
Symlinks are now automatically generated during installation rather
than tracked in source control.
- Documentation improvements.
Enhanced grepdiff documentation with better organization and
comprehensive examples showing different output modes.
Clarified bootstrap requirements in README.md.
Restored move-to-front script to package.
- Build system and CI improvements.
Updated GitHub Actions CI to run on 0.4.x branch.
Conditionally enabled building from Git repository.
Updated spec file and .gitignore files.
- Fixed binary file handling in lsdiff and filterdiff.
Binary files now receive sequential file numbers instead of duplicate
numbers when using lsdiff -N.
Fixed filterdiff -F (file number filter) to properly filter binary
file messages - previously binary file "Binary files ... differ"
messages were not being filtered and would appear in output regardless
of the requested file number.
--
*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***
The easiest way to unsubscribe is to visit
<https://cygwin.com/mailman/options/cygwin-announce>, and click 'Unsubscribe'.
If you need more information on unsubscribing, start reading here:
<https://sourceware.org/lists.html#unsubscribe>.