threads / discuss / 43618

binary patch compatibility

Subject: binary patch compatibility

## tl;dr

2 messages between Nov 1, 2006 and Nov 1, 2006.

replies: 1people: 2as markdown or json

John Rigby· Nov 1, 2006, 21:03 UTC · lore

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.
Thanks
Jakub Narebski· Nov 1, 2006, 21:10 UTC · re: John Rigby · lore

Re: binary patch compatibility

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

← back to recent threads