-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Revert "Stop git from merging generated files" #134199
Conversation
This reverts commit 4cbb599. "-merge" makes git not even do merges if they are entirely conflict-free, which is not the behavior we want.
@bors r+ rollup |
@bors p=6 (contributor experience) |
Ah, that's unfortunate... Thanks for the revert. |
Revert "Stop git from merging generated files" This reverts rust-lang#133851. "-merge" makes git not even do merges if they are entirely conflict-free, which is not the behavior we want. We sometimes have conflict-free merges in generated files and it's much better if git can handle them automatically. r? `@oli-obk` Cc `@jieyouxu` `@Urgau`
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
@bors retry Spurious MSVC thing again. |
i think we could achieve the goal of oli’s original PR by using a custom merge driver: https://git-scm.com/docs/gitattributes#Documentation/gitattributes.txt-String-1 (in this case it would probably be a simple script that uses |
☀️ Test successful - checks-actions |
Finished benchmarking commit (8e37e15): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (secondary 4.2%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 771.193s -> 771.396s (0.03%) |
(@RalfJung btw, we're now tracking msvc and mingw failures separately in case they have different root causes, there's a separate |
This reverts #133851. "-merge" makes git not even do merges if they are entirely conflict-free, which is not the behavior we want. We sometimes have conflict-free merges in generated files and it's much better if git can handle them automatically.
r? @oli-obk
Cc @jieyouxu @Urgau