<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,6 +5,13 @@ module Nanoc3::Extra::Deployers
   # Nanoc3::Extra::Deployers::Rsync is a deployer that deploys a site using rsync.
   class Rsync
 
+    DEFAULT_OPTIONS = [
+      '-glpPrtvz',
+      '--exclude=&quot;.hg&quot;',
+      '--exclude=&quot;.svn&quot;',
+      '--exclude=&quot;.git&quot;'
+    ]
+
     # Creates a new deployment task that uses rsync. The deployment
     # configuration will be taken from the site's configuration file.
     def initialize
@@ -32,7 +39,7 @@ module Nanoc3::Extra::Deployers
       # Set arguments
       src = File.expand_path(@site.config[:output_dir]) + '/'
       dst = @site.config[:deploy][config_name][:dst]
-      options = @site.config[:deploy][config_name][:options] || []
+      options = @site.config[:deploy][config_name][:options] || DEFAULT_OPTIONS
 
       # Validate arguments
       error 'No dst found in deployment configuration' if dst.nil?</diff>
      <filename>lib/nanoc3/extra/deployers/rsync.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b6530dcb16f9540b441fa25622c4ff41b285e239</id>
    </parent>
  </parents>
  <author>
    <name>Denis Defreyne</name>
    <email>denis.defreyne@stoneship.org</email>
  </author>
  <url>http://github.com/ddfreyne/nanoc/commit/3752c05bb1a5e3ffa769feea822f64c1eb9a4145</url>
  <id>3752c05bb1a5e3ffa769feea822f64c1eb9a4145</id>
  <committed-date>2009-10-26T12:21:10-07:00</committed-date>
  <authored-date>2009-10-26T12:21:10-07:00</authored-date>
  <message>gave rsync deployer a sensible list of default options</message>
  <tree>0c17169643008116ba2cf875597b6094c212c6bb</tree>
  <committer>
    <name>Denis Defreyne</name>
    <email>denis.defreyne@stoneship.org</email>
  </committer>
</commit>
