Diff format in packs
- From
Jon Smirl <jonsmirl@gmail.com>
- Date
- Jul 31, 2006, 21:08 UTC
- Message-ID
- <9e4733910607311408i10e17dse776920de7c5076a@mail.gmail.com>
I see how the diffs are encoded into the pack, but what did they look like before compressing? It would be great if they looked like CVS diffs. I poked around in the doc and I don't see anything. Is this specified somewhere and I missed it? I see that the diff code is from libxdiff but I haven't figured out how it is being used yet.
I'm trying to build a small app that takes a CVS ,v and writes out a pack corresponding to the versions. Suggestions on the most efficient strategy for doing this by calling straight into the git C code? Forking off git commands is not very efficient when done a million times.
-- Jon Smirl jonsmirl@gmail.com