Oops, got the ordering wrong in formatCommit.