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...
## Description This implements a --fuzzy option to make interdiff perform a fuzzy comparison between two diffs. This is very helpful, for example, for comparing a backport patch to its...
in version 0.4.4 lsdiff and filterdiff are counting binary changes for example ``` diff --git a/src/WEB-INF/lib/postgresql-jdbc.jar b/src/WEB-INF/lib/postgresql-jdbc.jar new file mode 100644 index 0000000..02bc736 Binary files /dev/null and b/src/WEB-INF/lib/postgresql-jdbc.jar differ diff...
Could we please bypass `view` when displaying `gitdiffview`, `gitshowview`, `svndiffview` `-h`/`-v` output?
Missing completions for new commands `gitshow`/`gitshowview`: could `_gitdiff()` be used or new `_gitshow()` needed?
What would someone need to do to compile this on Windows? Because `interdiff` seems to be pretty much the only tool for reversing a diff patch, but the project I'm...