From: Junio C Hamano Date: Sun, 28 Aug 2005 21:06:44 GMT Subject: Re: [PATCH 5/9] New option --force-delete for git-apply. Message-ID: <7vzmr1kbyz.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <11252426793534-git-send-email-robfitz@273k.net> Robert Fitzsimons writes: > Allow the user to force a patch that deletes a file to succeed even > though the file might still contain data. Added a test case. Why? I've seen cases where git-apply incorrectly thinks a patch leaves some data in a file to be deleted, when incomplete lines are involved. But I think that bug has been fixed, and the only case where you would need this new flag should be dealing with a corrupt/invalid patch.