<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -42,7 +42,7 @@ class DiffController &lt; ApplicationController
   end
   
   def compare_revisions
-    file_paths = git.paths.first
+    file_paths = [git.paths.first]
     if file_paths.length &gt; 1
       base = git.nca(file_paths)
     else </diff>
      <filename>Support/app/controllers/diff_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -120,13 +120,13 @@ module SCM
         end
         res
       elsif options[:fallback] == :project &amp;&amp; ENV.has_key?('TM_PROJECT_DIRECTORY')
-        ENV['TM_PROJECT_DIRECTORY'].to_a
+        [ENV['TM_PROJECT_DIRECTORY']]
       elsif options[:fallback] == :current_file &amp;&amp; ENV.has_key?('TM_FILEPATH')
-        ENV['TM_FILEPATH'].to_a
+        [ENV['TM_FILEPATH']]
       elsif ENV.has_key?('TM_DIRECTORY')
-        ENV['TM_DIRECTORY'].to_a
+        [ENV['TM_DIRECTORY']]
       elsif ENV.has_key?('TM_PROJECT_DIRECTORY')
-        ENV['TM_PROJECT_DIRECTORY'].to_a
+        [ENV['TM_PROJECT_DIRECTORY']]
       else
         raise &quot;No selected files.&quot; # FIXME throw an object with more info
       end</diff>
      <filename>Support/lib/git.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b0532f972d97cb03ba430db8d1047c3d51519841</id>
    </parent>
  </parents>
  <author>
    <name>Loren Segal</name>
    <email>lsegal@soen.ca</email>
  </author>
  <url>http://github.com/lsegal/git-tmbundle/commit/32c581eeee306fdee84d8e3ca558556d794c93d6</url>
  <id>32c581eeee306fdee84d8e3ca558556d794c93d6</id>
  <committed-date>2009-05-26T18:04:28-07:00</committed-date>
  <authored-date>2009-05-26T18:04:28-07:00</authored-date>
  <message>Remove #to_a calls and make sure Git#nca receives an array of files</message>
  <tree>ea0e8f2cc7c6528e165f3f7107b07d90c12521e2</tree>
  <committer>
    <name>Loren Segal</name>
    <email>lsegal@soen.ca</email>
  </committer>
</commit>
