Re: [PATCH 3/9] Fix processing of a patch file which modifies the same file in git-apply.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Aug 28, 2005, 21:06 UTC
- Message-ID
- <7v64tplqjq.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <11252426681254-git-send-email-robfitz@273k.net>
Robert Fitzsimons <robfitz@273k.net> 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 problem. A patch that touches the same file more than once is hard to review and I think we should be discouraging the users to do so. The same comment goes for [PATCH 4/9].