<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -48,8 +48,12 @@ begin
   end
 
   namespace :doc do
-    Grancher::Task.new(:publish =&gt; :doc) do |g|
-      g.keep 'index.html', '.gitignore'
+    task :publish =&gt; :doc do
+      Rake::Task['doc:push'].invoke unless uptodate?('.git/refs/heads/gh-pages', 'doc')
+    end
+    
+    Grancher::Task.new(:push) do |g|
+      g.keep_all
       g.directory 'doc', 'doc'
       g.branch = 'gh-pages'
       g.push_to = 'origin'</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>16954d7df67d6d4f55403a97404d824056d73ea1</id>
    </parent>
  </parents>
  <author>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </author>
  <url>http://github.com/ianwhite/inherit_views/commit/d657aa3bd8e5ab2f6c9e94165c6c4e792a0b3456</url>
  <id>d657aa3bd8e5ab2f6c9e94165c6c4e792a0b3456</id>
  <committed-date>2009-02-27T02:50:37-08:00</committed-date>
  <authored-date>2009-02-27T02:50:37-08:00</authored-date>
  <message>Only publish to gh-pages if it needs an update</message>
  <tree>4509f191313e4e748a421fc6ae2ad6fefe35c8e2</tree>
  <committer>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </committer>
</commit>
