threads / discuss / 22070

Re: [msysGit] Problem with apply

Subject: Re: [msysGit] Problem with apply

## tl;dr

One message between Dec 31, 2009 and Dec 31, 2009.

replies: 0people: 1as markdown or json

Erik Faye-Lund· Dec 31, 2009, 12:49 UTC · lore

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:
Show 14 quoted lines
> 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

← back to recent threads