Made some modification in the middle of the file (two lines modified, one inserted).
Created a patch for this file only
Reverted the file and then applied the patch.
In addition to the expected changes the resulting file now contains an empty line at the end
See attachments.