Added an option to limit the amount of commits checked