Documentation. Calculating max_commits correctly.