DO_REPLACE
case DO_REPLACE:
if (behavior == DO_REPLACE) {
giter, expected_rc, behavior == DO_REPLACE ? "replace" : "insert",