Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
I was not thinking of "diff-the-concept" but of "diff-the-tool".
You can design a tool that will pretend to handle both text and binaries the same way, but it will only pretend to. Inside the box you will actually find two different tools.
Support large repositories!
Posted Apr 4, 2010 21:31 UTC (Sun) by nix (subscriber, #2304)
Posted Apr 5, 2010 11:35 UTC (Mon) by marcH (subscriber, #57642)
Many binary formats are compressed by default. This usually prevents computing deltas. Are these tools clever enough to transparently uncompress revisions before comparing?
Posted Apr 5, 2010 16:24 UTC (Mon) by nix (subscriber, #2304)
Posted Apr 5, 2010 21:47 UTC (Mon) by marcH (subscriber, #57642)
Every time I tried this, the delta was almost as big as the file itself. Would you have counter-examples?
Posted Apr 5, 2010 23:14 UTC (Mon) by nix (subscriber, #2304)
Posted Apr 5, 2010 17:25 UTC (Mon) by dlang (✭ supporter ✭, #313)
This has been discussed several times (especially in the context of handling things like .odf files that are compressed XML). What needs to be done to handle formats like this is well understood. Git even has the mechanism to flag files as being of a specific type and call arbatrary tools (external scripts/programs) to handle different file types.
unfortunately, nobody has good, simple examples of this that I am aware of. It's possible, but will take some git-fu to get setup.
Posted Apr 6, 2010 17:00 UTC (Tue) by Spudd86 (guest, #51683)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds