diff clear on commit