Do not generate full commit log message if it is not going to be used