diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-06 00:49:16 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-06 00:49:16 -0500 |
commit | 3169745fa2beedbffb6a206ca4619ae41099df43 (patch) | |
tree | 0119548ace4396bd87bab3563dd6d6feac138e0f /tools | |
parent | c74e49f365e50eddf0b42d136abd0b5c29871093 (diff) | |
download | monitoring-plugins-3169745fa2beedbffb6a206ca4619ae41099df43.tar.gz |
git2svn: Use --add-author-from with "git set-tree"
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/git2svn.pl | 4 |
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) { | |||
114 | # Finally, commit every revision found into SVN | 114 | # Finally, commit every revision found into SVN |
115 | foreach my $commit (@commits) { | 115 | foreach 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 | ||