add diffs for patches