git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [msysGit] Problem with apply

From
Erik Faye-Lund <kusmabite@googlemail.com>
Date
Dec 31, 2009, 12:49 UTC
Message-ID
<40aa078e0912310449g4d503ba7t612e532f5069051f@mail.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:
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
Message 1 of 1 in “Re: [msysGit] Problem with apply”
  1. Erik Faye-LundDec 31, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.