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

Re: binary patch compatibility

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 1, 2006, 21:10 UTC
Message-ID
<eib2ev$ga7$1@sea.gmane.org>
In-Reply-To
<4b73d43f0611011303m3e58b227x1a0bd60a9719f9f8@mail.gmail.com>
John Rigby wrote:
Show 5 quoted lines
> If I commit a new binary file to a repository and then use
> git-format-patch --binary to produce a patch the resulting patch file
> is not compatible with the patch command.
> 
> Am I doing something wrong or is this not possible.

GNU patch doesn't understand git binary patch. git-apply does (as does git-am). There is no universal binary diff format.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: John Rigby
Message 2 of 2 in “binary patch compatibility”
  1. John RigbyNov 1, 2006
  2. Jakub NarebskiNov 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.