patchutils
patchutils copied to clipboard
Manipulate patch files
It seems filterdiff ignores changes in file permissions, such as removal of the executable flag. # Repro: ```shell curl 'https://github.com/NationalSecurityAgency/ghidra/commit/e2a945624b74e5d42dc85e9c1f992315dd154db1.patch' | filterdiff ``` # Expected result A diff # Actual...
Packaging SW for Fedora, I sometimes need to apply patch, which I'll download from GH, e.g.: ~~~ $ curl -OL https://github.com/rails/sprockets/pull/791.patch % Total % Received % Xferd Average Speed Time...
If I add a binary file to my project, the patch contains an entry like this: ```diff diff --git a/functions/src/bin/mycmd b/functions/src/bin/mycmd new file mode 100755 index 0000000..998a95d Binary files /dev/null...
Grepdiff is calculating the wrong lines when using the `--as-numbered-lines` output ## Recreation scenario ```shell $ grepdiff --version grepdiff - patchutils version 0.4.2 ``` I've minimized this to as small...
musl does not accept the regex `\+a` used in the grepdiff1 test. `+` doesn't have special meaning in POSIX regular expressions if it's at the start of the expression. So...