<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -21,16 +21,18 @@ module Coral
       add_remote(polyp) if command_was_success?
     end
     
-    desc &quot;update &lt;repo-name&gt;&quot;, &quot;update a repo by pulling from upstream&quot;
+    desc &quot;update &lt;repo-name&gt; [&lt;repo2-name&gt; ...]&quot;, &quot;update a repo by pulling from upstream&quot;
     method_options :noop =&gt; :boolean, :verbose =&gt; true
     
-    def update(repo)
-      unless dir = Coral.find(repo)
-        abort &quot;Failed:  couldn't find #{repo.inspect} in Coral&quot;
-      end
+    def update(*repos)
+      for repo in repos
+        unless dir = Coral.find(repo)
+          abort &quot;Failed:  couldn't find #{repo.inspect} in Coral&quot;
+        end
       
-      Dir.chdir &quot;#{LocalReef}/#{dir}&quot; do
-        cmd %(git pull)
+        Dir.chdir &quot;#{LocalReef}/#{dir}&quot; do
+          cmd %(git pull)
+        end
       end
     end
     </diff>
      <filename>lib/coral/runner.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f1f780c6c71d104be39b6a9ad0aa87a19ac8541e</id>
    </parent>
  </parents>
  <author>
    <name>Mislav Marohni&#263;</name>
    <email>mislav.marohnic@gmail.com</email>
  </author>
  <url>http://github.com/mislav/coral/commit/ca922710714e1e727f440dbb43fa3ad4723e8aa1</url>
  <id>ca922710714e1e727f440dbb43fa3ad4723e8aa1</id>
  <committed-date>2009-09-27T05:50:12-07:00</committed-date>
  <authored-date>2009-09-27T05:50:12-07:00</authored-date>
  <message>ability to update multiple repos at once</message>
  <tree>a2575f399476fbcb42506f7263ecdc6d76b2852a</tree>
  <committer>
    <name>Mislav Marohni&#263;</name>
    <email>mislav.marohnic@gmail.com</email>
  </committer>
</commit>
