]> granicus.if.org Git - python/commit
Fix changed file detection on Travis (GH-3129)
authorAmmar Askar <ammar_askar@hotmail.com>
Sat, 27 Jan 2018 20:53:56 +0000 (15:53 -0500)
committerBerker Peksag <berker.peksag@gmail.com>
Sat, 27 Jan 2018 20:53:56 +0000 (23:53 +0300)
commitb2ec3615c81ca4f3c938245842a45956da8d5acb
tree5ba9bd10baa43d0da4057679e2fd99dc88269cab
parentb1a6ac4c4026d648b3d948945b734a4d0f175a3c
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
.travis.yml