On 09/15/2013 11:46 PM, Ashutosh Bapat wrote:
> On Sun, Sep 15, 2013 at 12:38 AM, Andres Freund <andres@2ndquadrant.com>wrote:
>> git reset?
>>
>>
> git reset wouldn't remove the files that were newly added by the patch,
> would it?
The issue isn't that, it's that git apply is just buggy and can't tell
the difference between a new file and a modified one.
The "points" patch contained no new files, just modifications. But for
some reason, git apply read it as being all new files, which failed.
"patch -p1" worked fine.
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com