On Fri, Jun 20, 2008 at 12:51:39AM +0100, Mircea Bardac wrote:
Doesn't look like it. When you're using --add-author-from on dcommit, git-svn
doesn't seem to know that it should look after "From:" in the commit, thus
not setting the author correctly. The following oneliner should solve the
case. Please let me know if it works as well for you as it did for me.
Signed-off-by: Fredrik Skolmli <fredrik@frsk.net>
---
git-svn.perl | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index a54979d..8f77b91 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -432,6 +432,9 @@ sub cmd_dcommit {
"without --no-rebase may be required."
}
while (1) {
+ if ($Git::SVN::_add_author_from) {
+ $Git::SVN::_use_log_author = 1;
+ }
my $d = shift @$linear_refs or last;
unless (defined $last_rev) {
(undef, $last_rev, undef) = cmt_metadata("$d~1");
--
1.5.6.6.gd3e97
--
Regards,
Fredrik Skolmli
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html