I know how to use the diff command to create patches for source. But diff seems to bypass binary files. Is there a way to include differences in binary files?
Example:
Code:/old/foo/bar.txt /old/foo/bar.png /new/foo/bar.txt /new/foo/bar.png
I know how to use the diff command to create patches for source. But diff seems to bypass binary files. Is there a way to include differences in binary files?
Example:
Code:/old/foo/bar.txt /old/foo/bar.png /new/foo/bar.txt /new/foo/bar.png
No, because it is usually pointless. For a PNG for instance, even a very small color change will change all the bytes in the file. So you usually end up replacing th whole binary anyway.
Thanks for the info. I realize now that what I was trying to do is unecessary for source revision control systems.
Bookmarks