summaryrefslogtreecommitdiffstats
path: root/tasks/rake/git_workflow.rake
diff options
context:
space:
mode:
authorPaul Berry <paul@puppetlabs.com>2010-11-17 14:17:44 -0800
committerPaul Berry <paul@puppetlabs.com>2010-11-17 14:17:44 -0800
commitd19f36e7e7d498b9ca12c5ce536f3ee3db114279 (patch)
treede7ffbf5b815dd4de8d1e15f38ffa430ac128629 /tasks/rake/git_workflow.rake
parent2b8e834fcbc548a221b4cd02ee7200fa4f6c2c78 (diff)
parent8e2a945368f8144947d8ada9542191f38358520b (diff)
downloadpuppet-d19f36e7e7d498b9ca12c5ce536f3ee3db114279.tar.gz
puppet-d19f36e7e7d498b9ca12c5ce536f3ee3db114279.tar.xz
puppet-d19f36e7e7d498b9ca12c5ce536f3ee3db114279.zip
Merge branch 'next'
Diffstat (limited to 'tasks/rake/git_workflow.rake')
-rw-r--r--tasks/rake/git_workflow.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/rake/git_workflow.rake b/tasks/rake/git_workflow.rake
index c275bba3f..4c39f98de 100644
--- a/tasks/rake/git_workflow.rake
+++ b/tasks/rake/git_workflow.rake
@@ -108,7 +108,7 @@ task :mail_patches do
files = Dir.glob("00*.patch")
files.each do |file|
contents = File.read(file)
- contents.sub!(/^---$/, "#{additional_info}---")
+ contents.sub!(/^---\n/, "---\n#{additional_info}")
File.open(file, 'w') do |file_handle|
file_handle.print contents
end