Clean up diff and logs.