<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -34,7 +34,9 @@ class GitPlugins
   end
 
   def checkout(plugin_name)
-    unless already_checked_out?(plugin_name)
+    if already_checked_out?(plugin_name)
+      log &quot;Skipping checkout of plugin #{plugin_name} - already checked out?&quot;
+    else
       run_command(&quot;cd #{plugins_dir} &amp;&amp; #{git_command} clone #{url(plugin_name)} #{plugin_name}&quot;) 
     end
   end
@@ -129,6 +131,10 @@ class GitPlugins
     system command
     raise &quot;command='#{command}' failed with return code '#{$?}'&quot; if $? != 0
   end
+  
+  def log(message)
+    puts &quot;#{self.class}: #{message}&quot;
+  end
 end
 
 config_file = File.join(File.dirname(__FILE__), &quot;..&quot;, &quot;..&quot;, &quot;..&quot;, &quot;..&quot;, &quot;config&quot;, &quot;git_plugins.rb&quot;)</diff>
      <filename>lib/git_plugins.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e96634da3cbf85d76a36d6702553a708c5a3b8e2</id>
    </parent>
  </parents>
  <author>
    <name>Peter Marklund</name>
    <email>peter_marklund@fastmail.fm</email>
  </author>
  <url>http://github.com/peter/git_plugins/commit/6fd302366ccb528e118136bdc5b559678ac12533</url>
  <id>6fd302366ccb528e118136bdc5b559678ac12533</id>
  <committed-date>2009-05-20T01:21:04-07:00</committed-date>
  <authored-date>2009-05-20T01:21:04-07:00</authored-date>
  <message>Log message saying when plugin checkout is skipped</message>
  <tree>68634bdd18dfd83341e9d708a3fcc91236385c0a</tree>
  <committer>
    <name>Peter Marklund</name>
    <email>peter_marklund@fastmail.fm</email>
  </committer>
</commit>
