aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2009-01-06 00:49:16 -0500
committerGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2009-01-06 00:49:16 -0500
commit3169745fa2beedbffb6a206ca4619ae41099df43 (patch)
tree0119548ace4396bd87bab3563dd6d6feac138e0f /tools
parentc74e49f365e50eddf0b42d136abd0b5c29871093 (diff)
downloadmonitoring-plugins-3169745fa2beedbffb6a206ca4619ae41099df43.tar.gz
git2svn: Use --add-author-from with "git set-tree"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/git2svn.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/git2svn.pl b/tools/git2svn.pl
index c90ea96e..afe2b3b3 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 ($?);
}