On Tue Aug 13, 2024 at 3:23 PM CEST, Jean Delvare wrote:
> OK, this is news to me. Option --binary of GNU diff is undocumented (at
> least in the versions I'm using, 3.6 and 3.10) so I'm not sure what it
> does exactly. I suspect it simply avoids line end conversions,
> similarly to what the GNU patch option does. If your binary files are
> large, patches generated that way will be very large as well, as I
> don't expect GNU diff to find any matching "line" so it will simply
> include both files in their entirety in the patch.

Using text-oriented diffutils (like the GNU ones) for binary patches is
most likely very poor idea. Spend some time with the preferred Internet
search engine on the search “binary patch”.

Best,

Matěj
-- 
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
I am a Roman Catholic, so that I do not expect “history” to be
anything but a “long defeat” -- though it contains (and in
a legend may contain more clearly and movingly) some samples or
glimpses of final victory.
      -- J.R.R. Tolkien

Attachment: E09FEF25D96484AC.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Quilt-dev mailing list
Quilt-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to