only show commits if the diff is available