From 3169745fa2beedbffb6a206ca4619ae41099df43 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Tue, 6 Jan 2009 00:49:16 -0500 Subject: git2svn: Use --add-author-from with "git set-tree" diff --git a/tools/git2svn.pl b/tools/git2svn.pl index c90ea96..afe2b3b 100755 --- a/tools/git2svn.pl +++ b/tools/git2svn.pl @@ -114,8 +114,8 @@ if (@commits == 0) { # Finally, commit every revision found into SVN foreach my $commit (@commits) { print "Commiting $commit to Subversion\n"; - print "Running: $git svn set-tree $commit\n" if ($DEBUG); - `$git svn set-tree $commit`; + print "Running: $git svn set-tree --add-author-from $commit\n" if ($DEBUG); + `$git svn set-tree --add-author-from $commit`; die("Failed to commit hash $commit") if ($?); } -- cgit v0.10-9-g596f