simplify repo diff checking