git-rev-list: split out commit limiting from main() too.

Ok, now I'm happier.
1 file changed