Return expected success value for commits