Trim the number of commits to the last 400, to reduce browser strain.