Compare a diff by identifier