Bug: fatal: patch fragment without header at line

2012-07-16 Thread tuxdna
Git version: git-1.7.7.6-1.fc16.x86_64 I am getting an error with a patch that I am applying to a git repository. I have created a test case for this issue that I am facing. $ git apply --check 0001-modified-README.patch fatal: patch fragment without header at line 7: @@ -635,9 +635,7 @@ some_fun

Re: Bug: fatal: patch fragment without header at line

2012-07-16 Thread Junio C Hamano
tuxdna writes: > Git version: git-1.7.7.6-1.fc16.x86_64 > > I am getting an error with a patch that I am applying to a git repository. > I have created a test case for this issue that I am facing. > > $ git apply --check 0001-modified-README.patch > fatal: patch fragment without header at line 7:

Re: Bug: fatal: patch fragment without header at line

2012-07-16 Thread Jeff King
On Mon, Jul 16, 2012 at 07:06:51PM +0530, tuxdna wrote: > Git version: git-1.7.7.6-1.fc16.x86_64 > > I am getting an error with a patch that I am applying to a git repository. > I have created a test case for this issue that I am facing. > > $ git apply --check 0001-modified-README.patch > fatal