graph: extract logic for moving to GRAPH_PRE_COMMIT state
[git] / t / t5100 / msg0015