Skip to content

[3.6] Fix changed file detection on Travis (GH-3129)#5365

Merged
berkerpeksag merged 1 commit intopython:3.6from
miss-islington:backport-b2ec361-3.6
Jan 27, 2018
Merged

[3.6] Fix changed file detection on Travis (GH-3129)#5365
berkerpeksag merged 1 commit intopython:3.6from
miss-islington:backport-b2ec361-3.6

Conversation

@miss-islington
Copy link
Contributor

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-workflowGH-14
(cherry picked from commit b2ec361)

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-workflowGH-14
(cherry picked from commit b2ec361)
@miss-islington
Copy link
Contributor Author

@ammaraskar and @berkerpeksag: Backport status check is done, and it's a success ✅ .

@berkerpeksag berkerpeksag merged commit 4d2dd64 into python:3.6 Jan 27, 2018
@miss-islington
Copy link
Contributor Author

Thanks, @berkerpeksag!

@miss-islington miss-islington deleted the backport-b2ec361-3.6 branch January 27, 2018 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants