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

Re: How should I handle binary file with GIT

From
Jakub Narebski <jnareb@gmail.com>
Date
Apr 5, 2006, 15:11 UTC
Message-ID
<e10mn9$cjs$1@sea.gmane.org>
In-Reply-To
<7v3bgs4exz.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> It _might_ make sense to adopt a well-defined binary patch
> format (or if there is no prior art, introduce our own) and
> support that format with both git-diff-* brothers and git-apply,
> but that would be a bit longer term project.

bsdiff? http://www.daemonology.net/bsdiff/ EDelta? http://www.diku.dk/~jacobg/edelta/ Xdelta? http://xdelta.blogspot.com/

IIRC bsdiff is used by Firefox to distribute binary software updates. Xdelta is generic (not optimized for binaries like bsdiff and edelta), but supposedly offers worse compression (bigger diffs).

-- 
Jakub Narebski
Warsaw, Poland
Previous: Marco RoelandNext: Nicolas Pitre
Message 9 of 18 in “How should I handle binary file with GIT”
  1. moreau francisApr 5, 2006
  2. Junio C HamanoApr 5, 2006
  3. moreau francisApr 5, 2006
  4. Nicolas PitreApr 5, 2006
  5. moreau francisApr 5, 2006
  6. Nicolas PitreApr 5, 2006
  7. moreau francisApr 5, 2006
  8. Marco RoelandApr 5, 2006
  9. Jakub NarebskiApr 5, 2006
  10. Nicolas PitreApr 5, 2006
  11. Randal L. SchwartzApr 5, 2006
  12. Shawn PearceApr 5, 2006
  13. Nicolas PitreApr 5, 2006
  14. Nicolas PitreApr 5, 2006
  15. Junio C HamanoApr 5, 2006
  16. Randal L. SchwartzApr 5, 2006
  17. Nicolas PitreApr 5, 2006
  18. Junio C HamanoApr 5, 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.