patchutils icon indicating copy to clipboard operation
patchutils copied to clipboard

Manipulate patch files

Results 25 patchutils issues
Sort by recently updated
recently updated
newest added

Hi! I've face a bug during execution of combinediff. Let's say I have following first and second patch files: `first.patch` ```diff --- a/file.c +++ b/file.c @@ -0,0 +1,3 @@ +a...

I’ve been considering converting this to Javascript and making it into a library. Unfortunately, GPLv2 would prevent it from being used that way(1). Would you consider allowing me to change...

A diff like: ```diff diff --git a/tests/wpt/web-platform-tests/2dcontext/transformations/2d.transformation.order.html b/tests/wpt/web-platform-tests/2dcontext/transformations/2d.transformation.order-new.html similarity index 100% rename from tests/wpt/web-platform-tests/2dcontext/transformations/2d.transformation.order.html rename to tests/wpt/web-platform-tests/2dcontext/transformations/2d.transformation.order-new.html ``` gets excluded when I run `filterdiff -p 1 -i tests/wpt/web-platform-tests`.

Already I can't live without them :smile: , so it is better upstream it , to be installed on Fedora images and in the other distributions Best regards,

i often have to write loops like `for x in *.patch; do filterdiff ... $x > f; mv f $x; done`. would be super handy if i could just run...

`splitdiff` is able to split a single patch file into multiple (potentially many) patch files. `combinediff` is able to combine exactly two patch files. Why is `combinediff` not a proper...

There should be a flag like `-v, --invert-match` in grep. See https://stackoverflow.com/questions/57628550/grepdiff-find-hunks-that-dont-match-a-given-regexp (someone else's question). My use case is to "unstage hunks that do not match" in git: git diff...

test case from this repo itself ```sh $ git format-patch -1 9b2c63001e046f46defa31a3552c144804421f20 0001-Patchview-addon-are-3-bash-and-1-python-scripts.patch $ perl ./scripts/recountdiff 0001-Patchview-addon-are-3-bash-and-1-python-scripts.patch > new $ diff -u 0001-Patchview-addon-are-3-bash-and-1-python-scripts.patch new --- 0001-Patchview-addon-are-3-bash-and-1-python-scripts.patch 2021-03-08 19:45:06.264198350 -0500 +++...

When using `rediff ` to correct a manually modified patch file, comment lines present in the edited patch are removed from the output patch, which makes the difference between the...

Discovered by building + running tests on IRIX where by default there is no "getline" implementation - patchutils will notice and use the one from src/util.c. Issue: Looks like the...