Git to svn:为日志消息添加提交日期

Arn*_* VM 6 svn git message date git-svn

当"dcommitting"到svn时,我该如何将作者(或提交者)名称/日期添加到日志消息中?

例如,如果Git中的日志消息是:

This is a nice modif

我希望svn中的消息是这样的:

This is a nice modif
-----
Author: John Doo <John.Doo@company.com>  2010-06-10 12:38:22
Committer: Nice Guy <nguy@acme.org>  2010-06-10 14:05:42

(请注意,我主要对日期感兴趣,因为我已经在.svn-authors中映射了svn用户)

任何简单的方法?胡克需要吗?其他建议?
(另见:http://article.gmane.org/gmane.comp.version-control.git/148861)

tak*_*hin -1

只是改变日志输出格式吗?

git log --pretty="format:%s %an %ae %cn %d"
git help log
Run Code Online (Sandbox Code Playgroud)