Open Patch Input in the right repository
Select the target tab in Inspect. Paste a unified diff into Patch Input or use Browse to open a .patch or .diff file. If an incoming item is selected, confirm you are editing that item before replacing its text.
Clean and check the edited diff
Use Format & Clean Diff (Strip Fences) to remove Markdown wrapping, then read the resulting file paths and hunks. If you need to edit protected file headers, use Unlock Diff Headers and lock them again after the edit. Run Patch Doctor (Preflight Check) and read its result. A passing preflight does not change files.
Choose Save Edited Patch or Apply
Save Edited Patch is available for an edited queued item. It saves the edited diff back to that item. To write the reviewed diff to the repository, use Apply or Apply Patch Now. Read the status bar and check the resulting diff under Uncommitted Changes.
Preflight patches for mixed line endings
GDP can match existing line endings line by line in a Windows file that mixes CRLF and LF. Start with Run Patch Doctor (Preflight Check) before you apply. Review the file and hunk reported if preflight rejects the patch.
A line-ending match does not fix a patch based on an older version of the file. Refresh your Diff Preview and compare the hunk with the target before trying again.