refine diff in magit.