# Re: [msysGit] Problem with apply

1 messages from 2009-12-31 to 2009-12-31. Participants: Erik Faye-Lund.
Thread: https://gitlist.dev/t/22070

## Erik Faye-Lund, 2009-12-31 12:49

Subject: Re: [msysGit] Problem with apply
Message-ID: <40aa078e0912310449g4d503ba7t612e532f5069051f@mail.gmail.com>
URL: https://gitlist.dev/e/40aa078e0912310449g4d503ba7t612e532f5069051f%40mail.gmail.com
In-Reply-To: <SNT131-ds16B1679EFC8F74B62D4630C4780@phx.gbl>

```
This isn't a Windows specific question, and would be better for the
main git mailing list. I'm CC'ing it in hope that someone there knows
the answer.

On Thu, Dec 31, 2009 at 1:26 PM,  <richardpreen@hotmail.com> wrote:
> I'm trying to use git to create a binary diff of two files and then apply
> the diff to the first file in an attempt to make both files the same (just
> testing the concept);
>
> git diff --binary --no-index original\t1.ppt modified\t1.ppt >
> original\my.diff
> cd original
> git apply my.diff
>
> This is giving me the following error message;
> fatal: git diff header lacks filename information (line 3)
>
> Any suggestions as to where I've gone wrong?
> Thanks.

-- 
Erik "kusma" Faye-Lund

```
