lib/ghtorrent/ghtorrent.rb
def pr_log_msg(req)
      head = if pr_has_head_repo(req)
               req['head']['repo']['full_name']
             else
               '(head deleted)'
             end

      <<-eos.gsub(/\s+/, ' ').strip
            pull_req #{req['number']}
      #{head} -> #{req['base']['repo']['full_name']}
      eos
    end
def pr_log_msg(req)
      head = if pr_has_head_repo(req)
               req['head']['repo']['full_name']
             else
               '(head deleted)'
             end

      <<-eos.gsub(/\s+/, ' ').strip
            pull_req #{req['number']}
      #{head} -> #{req['base']['repo']['full_name']}
      eos
    end
Produces a log message