Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Consider only files changed on the built branch #12627

Merged
merged 1 commit into from Aug 22, 2018

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Aug 22, 2018

git diff COMMIT includes all files changed between COMMIT and the most recent common commit of COMMIT and HEAD. We only want files changed on this branch though.

You can see the old behavior at https://circleci.com/gh/mui-org/material-ui/41213
It also includes files that were changed on master during the lifetime of the branch.

Tested this with the CircleCI checkout script and it worked as expected (only 6 files changed for that build). Earlier tests did non run on long living branches.

git diff COMMIT includes all files changed between COMMIT and the
most recent common commit of COMMIT and HEAD. We only want
files changed on this branch though.
@oliviertassinari
Copy link
Member

@eps1lon We are getting to the bottom of it :).

@oliviertassinari oliviertassinari merged commit e3451f9 into mui:master Aug 22, 2018
@oliviertassinari
Copy link
Member

By the way, I have left you a message on gitter.

@eps1lon eps1lon deleted the ci-prettier-branch-files-only branch August 23, 2018 06:06
marcelpanse pushed a commit to marcelpanse/material-ui that referenced this pull request Oct 2, 2018
git diff COMMIT includes all files changed between COMMIT and the
most recent common commit of COMMIT and HEAD. We only want
files changed on this branch though.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants