<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,8 @@
+== 0.1.8
+
+* 1 bugfix
+  * fix problem where dependencies weren't checking out repo tags or branches properly
+
 == 0.1.7
 
 * 2 minor enhancement</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,12 @@
 # -*- encoding: utf-8 -*-
-#
+
 Gem::Specification.new do |s|
   s.name = %q{garlic}
-  s.version = &quot;0.1.7&quot;
+  s.version = &quot;0.1.8&quot;
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Ian White&quot;]
-  s.date = %q{2009-01-22}
+  s.date = %q{2009-02-08}
   s.default_executable = %q{garlic}
   s.description = %q{Set of commands/rake-tasks for CI against multiple version of rails/deps.}
   s.email = %q{ian.w.white@gmail.com}</diff>
      <filename>garlic.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -11,7 +11,7 @@ module Garlic
   module Version
     Major = 0
     Minor = 1
-    Tiny  = 7
+    Tiny  = 8
     
     String = [Major, Minor, Tiny].join('.')
   end</diff>
      <filename>lib/garlic.rb</filename>
    </modified>
    <modified>
      <diff>@@ -78,25 +78,17 @@ module Garlic
         cd(install_path) { `git checkout #{tree_ish || repo.head_sha}` }
       
       else
+        old_tree_ish = repo.head_sha
+        repo.checkout(tree_ish) if tree_ish       
         if read_sha(install_path) == repo.head_sha
-          puts &quot;#{install_path} is up to date&quot;
+          puts &quot;#{install_path} is up to date at #{tree_ish || 'default'}&quot;
         else
-          puts &quot;#{install_path} needs update, exporting archive from #{repo.name}...&quot;
-          if tree_ish
-            puts &quot;Checking out #{tree_ish} of #{repo.name}&quot;
-            old_tree_ish = repo.head_sha
-            repo.checkout(tree_ish) if tree_ish
-          end
-          
+          puts &quot;#{install_path} needs update to #{tree_ish || 'default'}, exporting archive from #{repo.name}...&quot;
           repo.export_to(File.join(path, install_path))
           cd(path) { garlic.instance_eval(&amp;block) } if block_given?
           write_sha(install_path, repo.head_sha)
-          
-          if tree_ish
-            puts &quot;Checking #{repo.name} back to where it was (#{old_tree_ish})&quot;
-            repo.checkout(old_tree_ish)
-          end
         end
+        repo.checkout(old_tree_ish) if tree_ish
       end
     end
     </diff>
      <filename>lib/garlic/target.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>74d1c7d740a3d6ad7049429b02c545cb9bc1c252</id>
    </parent>
  </parents>
  <author>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </author>
  <url>http://github.com/ianwhite/garlic/commit/bb09440f15bf3a687b93b783dc6a11a34cc6e3af</url>
  <id>bb09440f15bf3a687b93b783dc6a11a34cc6e3af</id>
  <committed-date>2009-02-08T02:47:09-08:00</committed-date>
  <authored-date>2009-02-08T02:47:09-08:00</authored-date>
  <message>0.1.8 release: fix bug where dependencies weren't checking out repo tags or branches properly</message>
  <tree>661df3b5dceb9ad247a3e2e02260fc87170a8b69</tree>
  <committer>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </committer>
</commit>
