Re: [PATCH 5/9] New option --force-delete for git-apply.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Aug 28, 2005, 21:06 UTC
- Message-ID
- <7vzmr1kbyz.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <11252426793534-git-send-email-robfitz@273k.net>
Robert Fitzsimons <robfitz@273k.net> 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.