Commit 05eb618548cd32eff1d839ab4fa31d2c7b195f6f

Authored by Sytse Sijbrandij
2 parents e8dedc6d 6cd745c2

Merge branch 'hipchat-remove-hash' of /mnt/ebs/repositories/Tenzer/gitlab-ce

app/models/project_services/hipchat_service.rb
@@ -61,7 +61,7 @@ class HipchatService < Service @@ -61,7 +61,7 @@ class HipchatService < Service
61 elsif after =~ /000000/ 61 elsif after =~ /000000/
62 message << "removed branch #{ref} from <a href=\"#{project.web_url}\">#{project.name_with_namespace.gsub!(/\s/,'')}</a> \n" 62 message << "removed branch #{ref} from <a href=\"#{project.web_url}\">#{project.name_with_namespace.gsub!(/\s/,'')}</a> \n"
63 else 63 else
64 - message << "#pushed to branch <a href=\"#{project.web_url}/commits/#{ref}\">#{ref}</a> " 64 + message << "pushed to branch <a href=\"#{project.web_url}/commits/#{ref}\">#{ref}</a> "
65 message << "of <a href=\"#{project.web_url}\">#{project.name_with_namespace.gsub!(/\s/,'')}</a> " 65 message << "of <a href=\"#{project.web_url}\">#{project.name_with_namespace.gsub!(/\s/,'')}</a> "
66 message << "(<a href=\"#{project.web_url}/compare/#{before}...#{after}\">Compare changes</a>)" 66 message << "(<a href=\"#{project.web_url}/compare/#{before}...#{after}\">Compare changes</a>)"
67 for commit in push[:commits] do 67 for commit in push[:commits] do