added an option commitDiffOpts to customize logs for revisions

Added in the same way as logOpts/diffOpts. Default is empty.
Useful to ignore whitespace changes, or to change formatting
of commit log messages