Preserve files when patch moves target the same path (#3203)
Crucial fix for developers working with GPT-5 patch application and file manipulation workflows.
AI Summary
OpenAI Cookbook fixes a bug in apply_patch.py where patch moves to the same path would incorrectly handle file operations.
Excerpt
Preserve files when patch moves target the same path (#3203) Co-authored-by: BichengWang <bichengwang17@gmail.com>
