Add setter for max number of commits to show on live diff

It was hard coded to 30. 30 is the default.