-
Notifications
You must be signed in to change notification settings - Fork 149
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
Fetch origin HEAD on checkout #1684
Fetch origin HEAD on checkout #1684
Conversation
This ensures that git merge-base can find the right merge point; otherwise, our history looks to have diverged when the original checkout was made, which might be years ago.
Before we merge we should do some testing to try to figure out the right incantation. I think HEAD might do the wrong thing here, we might need |
Oh so this has an Just not having that branch is the other alternative, then my PR will fall back to the old logic. |
@Mark-Simulacrum @lqd what is the status of this? I just ran into rust-lang/rust#101907 again... |
Co-authored-by: Rémy Rakic <[email protected]>
bootstrap: use git merge-base for LLVM CI download logic This re-lands rust-lang#113588, now that the perf issues are hopefully fixed by rust-lang/rustc-perf#1684. r? `@lqd` `@Mark-Simulacrum` Fixes rust-lang#101907
bootstrap: use git merge-base for LLVM CI download logic This re-lands rust-lang/rust#113588, now that the perf issues are hopefully fixed by rust-lang/rustc-perf#1684. r? `@lqd` `@Mark-Simulacrum` Fixes rust-lang/rust#101907
This ensures that git merge-base can find the right merge point; otherwise, our history looks to have diverged when the original checkout was made, which might be years ago.
cc @RalfJung rust-lang/rust#101907