Pass the actual commit objects to the methods in Repository