patchutils icon indicating copy to clipboard operation
patchutils copied to clipboard

Support diffs including binary files

Open samatcodeapprove opened this issue 2 years ago • 0 comments

If I add a binary file to my project, the patch contains an entry like this:

diff --git a/functions/src/bin/mycmd b/functions/src/bin/mycmd
new file mode 100755
index 0000000..998a95d
Binary files /dev/null and b/functions/src/bin/mycmd differ

However using combinediff on a diff like this (with other files included) ignores this entry completely, probably because it lacks a hunk link (@@).

samatcodeapprove avatar Feb 04 '23 23:02 samatcodeapprove