]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix changed file detection on Travis (GH-3129)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 27 Jan 2018 22:48:09 +0000 (14:48 -0800)
committerBerker Peksag <berker.peksag@gmail.com>
Sat, 27 Jan 2018 22:48:09 +0000 (01:48 +0300)
commit4d2dd64471c5047fe4aa24fb407e9d855344388e
treeeeb6ba9936b21829f04e196635df626ffb6c2500
parentd7274c6638fc88d72b73f8cdc6b888270a5e7a50
Fix changed file detection on Travis (GH-3129)

Travis when merging changes from a pull request onto the target branch
does not perform a rebase, instead it does a simple merge which causes
the PR commits to retain their commit dates. This means that the commit
log can potentially look like:

PR merge <-- HEAD
normal master commit <- master
more commits from normal workflow
PR commit 1
another master commit
PR commit 2

Performing a git diff from PR commit 2 to master will accidentally
include files that should not be there.

Closes python/core-workflow#14

(cherry picked from commit b2ec3615c81ca4f3c938245842a45956da8d5acb)
.travis.yml