travis-ci/travis-core — pull request #383 by henrikhodne (2014-08-10 14:47:55+00:00)
Title: Return the right commit range for pull requests

The compare URL for pull requests is just the pull request URL, so we can't extract the commit range from it, but the commit range is stored in the request for pull requests, so we can get it from there.

Fixes travis-ci/travis-ci#1719.