On 28/01/13 12:31, Marko Tiikkaja wrote:
> On 1/28/13 12:14 PM, Jeevan Chalke wrote:
>> I could not apply the patch with git apply, but able to apply it by patch
>> -p1 command.
>
> IME that's normal for patches that went through filterdiff. I do: git
> diff |filterdiff --format=context to re-format the patches to the
> context diff preferred on the mailing list. Maybe if I somehow told git
> to produce context diff it would work..
Try this, worked for me:
http://wiki.postgresql.org/wiki/Working_with_Git#Context_diffs_with_Git
Cheers,
Jan