-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Use git diff
instead of git log
for --changedSince
#10155
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Simen Bekkhus <[email protected]>
Can we get an update as to when this might be merged and released? I have a few things in our company test pipeline that rely upon this change :) Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like it will do the right thing in all of the cases that I care about (including when branches diverge). Thanks for taking this on.
Good enough for me. Thanks @finn-orsini! |
Any chance this could get released soon? This is a major blocker for us since we can't practically run all of our tests in CI on every PR. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Addresses issue described in #9602, where files with no difference are marked as changed by using
git log
instead ofgit diff
for the--changedSince
flag option.Test plan
git
--changedSince
specs passgetChangedFilesForRoots
.Note: Seeing failures on local master branch with message
abort: empty revision range
forjestChangedFiles: gets changed files for hg
andonlyChanged: gets changed files for hg
specs after runningbrew install hg
successfully.