Commits can be generated by function