Thanks for your thoughts Matej.
Why do you think it is a poor idea?
My motivation for doing this with quilt is I want to keep things simple by having 1 tool to handle source/text patches and binary patches.
I do not care if the diff algorithm is smart enough to reduce the size of the patch. I only care that after the patch is applied the resulting binary is exactly what I expect.
Kind regards,
Aidan
On Wed Aug 14, 2024 at 2:52 PM CEST, Matěj Cepl wrote:
> 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”.
Actually,
https://stackoverflow.com/questions/1945075/how-do-i-create-binary-patches
seems to be relevant.
Matěj
--
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
We have been called to form consciences, not to replace them.
-- Pope Francis in Amoris Lætitia, 37