git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Next: Jakub Narebski
Message 1 of 13 in “Diff format in packs”
  1. Jon SmirlJul 31, 2006
  2. Jakub NarebskiJul 31, 2006
  3. Jon SmirlJul 31, 2006
  4. Shawn PearceJul 31, 2006
  5. Jon SmirlJul 31, 2006
  6. Martin LanghoffAug 1, 2006
  7. Martin LanghoffAug 1, 2006
  8. Jon SmirlAug 1, 2006
  9. Martin LanghoffAug 1, 2006
  10. Jon SmirlAug 1, 2006
  11. Martin LanghoffAug 1, 2006
  12. Johannes SchindelinAug 1, 2006
  13. Jakub NarebskiAug 1, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.