# binary patch compatibility

2 messages from 2006-11-01 to 2006-11-01. Participants: John Rigby, Jakub Narebski.
Thread: https://gitlist.dev/t/43618

## John Rigby, 2006-11-01 21:03

Subject: binary patch compatibility
Message-ID: <4b73d43f0611011303m3e58b227x1a0bd60a9719f9f8@mail.gmail.com>
URL: https://gitlist.dev/e/4b73d43f0611011303m3e58b227x1a0bd60a9719f9f8%40mail.gmail.com

```
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, 2006-11-01 21:10

Subject: Re: binary patch compatibility
Message-ID: <eib2ev$ga7$1@sea.gmane.org>
URL: https://gitlist.dev/e/eib2ev%24ga7%241%40sea.gmane.org
In-Reply-To: <4b73d43f0611011303m3e58b227x1a0bd60a9719f9f8@mail.gmail.com>

```
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


```
