Re: [PATCH] git-svnimport: Parse log message for Signed-off-by: lines
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 5, 2006, 21:26 UTC
- Message-ID
- <7v1wqqc8dh.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060905184611.GB14732@sashak.voltaire.com>
Sasha Khapyorsky <sashak@voltaire.com> writes:
Show 13 quoted lines
> Hi, > > This feature was useful with importing https://openib.org/svn/gen2 . > > Sasha > > This add '-S' option. When specified svn-import will try to parse > commit message for 'Signed-off-by: ...' line, and if found will use > the name and email address extracted at first occurrence as this commit > author name and author email address. Committer name and email are > extracted in usual way. > > Signed-off-by: Sasha Khapyorsky <sashak@voltaire.com>
Thanks.
I do not think the first signed-off-by is necessarily the author of the change, so we are risking miscrediting (or misblaming) a wrong person. Having said that, using the committer information has the same miscredit problem, so this change might be Ok, but I am not sure if it adds much improvement.
I will wait for an ack/nack from somebody who use svnimport and know it well.
BTW, I do not appreciate the first six lines of your message being _before_ the proposed commit log message. Please have it between "---\n" (that comes immediately after your own "Signed-off-by:") and the diffstat, like this:
This add '-S' option. When specified svn-import will try to...
... in usual way. Signed-off-by: Sasha Khapyorsky <sashak@voltaire.com>
---Hi,
This feature was useful with importing https://openib.org/svn/gen2 .
Sasha
git-svnimport.perl | 31 ++++++++++++++++++++-----------
1 files changed, 20 insertions(+), 11 deletions(-)diff --git a/...