binary patch compatibility

2 messages, 2 authors, 2016-08-11 · open the first message on its own page

binary patch compatibility

From: John Rigby <hidden>
Date: 2016-08-11 19:57:35

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

Re: binary patch compatibility

From: Jakub Narebski <hidden>
Date: 2016-08-11 20:41:55

John Rigby wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help