Simplify diff using existing read functions and splitlines.
Simplify diff using existing read functions and splitlines.

bravegnu/tiny-git,jamesmortensen/tiny-git,jamesmortensen/tiny-git,bravegnu/tiny-git