how to show the diff of a commit with the previous commit