Ternary commit