commit-graph: fix progress of reachable commits