[PATCH v2 21/60] buildman: Move commit numbering into determine_series()