Patch: Apply diffs and update files safely

Apply unified diffs to files, inspect changes, and recover when a patch refuses to apply.

20.04.2026   |   reading time: 2 min