From: Sasha Khapyorsky Date: Tue, 05 Sep 2006 22:17:54 GMT Subject: Re: [PATCH] git-svnimport: Parse log message for Signed-off-by: lines Message-ID: <20060905221754.GI14732@sashak.voltaire.com> In-Reply-To: <7v1wqqc8dh.fsf@assigned-by-dhcp.cox.net> On 14:26 Tue 05 Sep , Junio C Hamano wrote: > Sasha Khapyorsky writes: > > > 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 > > 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. Right, there is such risk, so this feature is optional and by default is "off". > 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. Sure. BTW, what about to importing subdirectories, like this: /path/to/subdir /path/to/subdir Is this could be improvement? > > 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 > --- > > 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/... Ok. Sasha