skip commit if dirty