<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,6 +11,10 @@ Project.configure do |project|
   # Build the project by invoking rake task 'custom'
   # project.rake_task = 'custom'
 
+  # Specify the branch you're testing
+  # This needs to be set if you used the -b option to cruse add
+  # project.source_control.branch = 'release'
+
   # Build the project by invoking shell script &quot;build_my_app.sh&quot;. Keep in mind that when the script is invoked,
   # current working directory is &lt;em&gt;[cruise&amp;nbsp;data]&lt;/em&gt;/projects/your_project/work, so if you do not keep build_my_app.sh
   # in version control, it should be '../build_my_app.sh' instead
@@ -19,4 +23,4 @@ Project.configure do |project|
   # Ping Subversion for new revisions every 5 minutes (default: 30 seconds)
   # project.scheduler.polling_interval = 5.minutes
 
-end
\ No newline at end of file
+end</diff>
      <filename>config/cruise_config.rb.example</filename>
    </modified>
    <modified>
      <diff>@@ -49,7 +49,7 @@ class Git
   end
   
   def latest_revision
-    revision = GitRevision.new(repo.commits.first)
+    revision = GitRevision.new(repo.commits(@branch).first)
     build = Build.new(@project,revision.number)
     last_build = @project.last_complete_build || build
     revision.message = repo.git.log({},&quot;--pretty=oneline --abbrev-commit  #{last_build.revision}..#{build.revision}&quot;)</diff>
      <filename>lib/git.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ac1fcf5414d877e86b7cded02f089a0ed68ce7ba</id>
    </parent>
  </parents>
  <author>
    <name>Scott Steadman</name>
    <email>ss@stdmn.com</email>
  </author>
  <url>http://github.com/benburkert/cruisecontrolrb/commit/b92a33a4436fb62aab4f9b6e6e5533d8dbf8e079</url>
  <id>b92a33a4436fb62aab4f9b6e6e5533d8dbf8e079</id>
  <committed-date>2008-07-23T09:05:30-07:00</committed-date>
  <authored-date>2008-07-23T09:05:30-07:00</authored-date>
  <message>Improved branch support for git.

Added a comment to example cruse_config.rb.
Git#latest_revision takes branch into account.</message>
  <tree>18f3b5b63977565abbf8e23e45ac3a68c5f0b561</tree>
  <committer>
    <name>Scott Steadman</name>
    <email>ss@stdmn.com</email>
  </committer>
</commit>
