git-commit: Refactor creation of log message.