summaryrefslogtreecommitdiffstats
path: root/tools/git2svn.pl
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-06 05:49:16 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-06 05:49:16 (GMT)
commit3169745fa2beedbffb6a206ca4619ae41099df43 (patch)
tree0119548ace4396bd87bab3563dd6d6feac138e0f /tools/git2svn.pl
parentc74e49f365e50eddf0b42d136abd0b5c29871093 (diff)
downloadmonitoring-plugins-3169745fa2beedbffb6a206ca4619ae41099df43.tar.gz
git2svn: Use --add-author-from with "git set-tree"
Diffstat (limited to 'tools/git2svn.pl')
-rwxr-xr-xtools/git2svn.pl4
1 files changed, 2 insertions, 2 deletions
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) {
114# Finally, commit every revision found into SVN 114# Finally, commit every revision found into SVN
115foreach my $commit (@commits) { 115foreach my $commit (@commits) {
116 print "Commiting $commit to Subversion\n"; 116 print "Commiting $commit to Subversion\n";
117 print "Running: $git svn set-tree $commit\n" if ($DEBUG); 117 print "Running: $git svn set-tree --add-author-from $commit\n" if ($DEBUG);
118 `$git svn set-tree $commit`; 118 `$git svn set-tree --add-author-from $commit`;
119 die("Failed to commit hash $commit") if ($?); 119 die("Failed to commit hash $commit") if ($?);
120} 120}
121 121