Re: [PATCH 3/9] Fix processing of a patch file which modifies the same file in git-apply.

2005-08-28 Thread Junio C Hamano
Robert Fitzsimons <[EMAIL PROTECTED]> writes: > A patch file (or stdin) which modifies the same file more then once > will fail to apply the patch correctly. In the worst case it will > apply some of the patch and leave an invalid output file(s). I am not sure if this is solving the right proble

[PATCH 3/9] Fix processing of a patch file which modifies the same file in git-apply.

2005-08-28 Thread Robert Fitzsimons
A patch file (or stdin) which modifies the same file more then once will fail to apply the patch correctly. In the worst case it will apply some of the patch and leave an invalid output file(s). apply.c has been changed to search for previously processed files and use the in memory copy of the da