Skip to content

Commit

Permalink
Fix parsing of merge information
Browse files Browse the repository at this point in the history
  • Loading branch information
holzman committed Sep 7, 2011
1 parent 3469f66 commit cfca952
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/git_commit_notifier/diff_to_html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ def extract_commit_info_from_git_show_output(content)
result[:committer], result[:commit_email] = author_name_and_email(line[12..-1])
elsif line =~ /^CommitDate:/
result[:commit_date] = line[12..-1]
elsif line =~ /^Merge/
result[:merge] = line[12..-1]
elsif line =~ /^Merge:/
result[:merge] = line[7..-1]
else
clean_line = line.strip
result[:message] << clean_line unless clean_line.empty?
Expand Down

0 comments on commit cfca952

Please sign in to comment.