@zekjur For being a central component of software development, "unified context diff" files are surprisingly fragile.
- Tools are supposed to skip "garbage" lines and apply everything that looks like a diff (this is what's happening here).
- Creating and deleting files is a done via implementation-specific hacks. GNU patch for example cannot create or delete an empty file.
- The format of file names is standardized, but the definition is lacking (see above), so Git does something else.
etc.