Reset panel when there's no diff to show for commit.