In the original implementation, I got the direction of the diff arrows wrong. This small fix just makes sure they reflect the same logic as GNU diff.
Tag: @tcuhadar @jchapman