>> Thanks, this LGTM. > > Pushed to master and closed. Here's an additional patch to support diffs with files that contain just one line as documented in (info "(diffutils) Detailed Unified") and also without the final newline. Such diffs have the text: \ No newline at end of file