<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>hooks/post-receive</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -33,7 +33,7 @@ Setup the configuration, see *spec/config_spec* for an example configuration dir
 
 In the git repository that you push on :
 
-	cp host/post-receive.rb (.git/)hooks/post-receive
+	cp host/post-receive (.git/)hooks/post-receive
 	chmod +x (.git/)hooks/post-receive
 	
 	edit (.git/)hooks/post-receive</diff>
      <filename>README.mdown</filename>
    </modified>
    <modified>
      <diff>@@ -15,11 +15,15 @@ module Lighthouse::GitHooks
     attr_reader :real_tickets
 
     AUTHORIZED_KEYS = [ 'assign', 'state', 'tags', 'untag']
-
+    
     def initialize(old_rev, new_rev, ref=nil)
       super()
       @ref = ref
-      @commits = @repo.commits_between(old_rev, new_rev)
+      
+      # suppress merge replay
+      # git rev-list --first-parent commit1 commit2
+      @commits = Grit::Commit.find_all @repo, &quot;#{old_rev}..#{new_rev}&quot;, :first_parent =&gt; true
+      
       @message = &quot;&quot;
       @changes = []
     end</diff>
      <filename>lib/lighthouse/git_hooks/ticket_updater.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>hooks/post-receive.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>2adf67905436e49e2033b1aeb9c42890430a06a4</id>
    </parent>
  </parents>
  <author>
    <name>Antonin Amand</name>
    <email>gwik@gwikzone.org</email>
  </author>
  <url>http://github.com/gwik/lighthouse-git-hooks/commit/2dd3addff6a24981df7d8a77b3dd2de11deee751</url>
  <id>2dd3addff6a24981df7d8a77b3dd2de11deee751</id>
  <committed-date>2008-07-07T11:10:00-07:00</committed-date>
  <authored-date>2008-07-07T11:10:00-07:00</authored-date>
  <message>move</message>
  <tree>047619e2d651c46c9b94fe478c49005be4796d01</tree>
  <committer>
    <name>Antonin Amand</name>
    <email>gwik@gwikzone.org</email>
  </committer>
</commit>
