Removes diff markers from previous commit