I would like to list all the files modified in a pull request while on travis.
I tried $(git diff --name-only $TRAVIS_PULL_REQUEST_BRANCH $(git merge-base $TRAVIS_PULL_REQUEST_BRANCH master))
but git doesn't know about TRAVIS_PULL_REQUEST_BRANCH since it's on a forked repo.
I also gave it a try with git rev-list
and $TRAVIS_COMMIT_RANGE but it includes also the new commits on the master branch.
Any idea how to get the files that are modified exclusively by the PR?