commit-graph: fix truncated generation numbers