Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [msysGit] Problem with apply

From: Erik Faye-Lund <hidden>
Date: 2016-06-15 22:47:57

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,  [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help