Skip to content

libc: Require linear history#2395

Merged
marcoieni merged 1 commit intorust-lang:mainfrom
tgross35:libc-linear
Apr 8, 2026
Merged

libc: Require linear history#2395
marcoieni merged 1 commit intorust-lang:mainfrom
tgross35:libc-linear

Conversation

@tgross35
Copy link
Copy Markdown
Contributor

@tgross35 tgross35 commented Apr 8, 2026

No description provided.

@tgross35
Copy link
Copy Markdown
Contributor Author

tgross35 commented Apr 8, 2026

We already use rebase merging so this happens by default, but I'm hoping it will get rid of this option that I find myself clicking by accident:

image

If there is another way to do that, please let me know :)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Dry-run check results

[WARN  rust_team::sync] sync-team is running in dry mode, no changes will be applied.
[INFO  rust_team::sync] synchronizing crates-io
[INFO  rust_team::sync] synchronizing github
[INFO  rust_team::sync] 💻 Repo Diffs:
    📝 Editing repo 'rust-lang/libc':
      Rulesets:
          Updating 'main'
            Require linear history: true
          Updating 'libc-0.2'
            Require linear history: true

@marcoieni
Copy link
Copy Markdown
Member

If you want to disable that button, I think this is the option you are looking for
image

@marcoieni
Copy link
Copy Markdown
Member

or you just want update branch to "update with rebase"?

@marcoieni
Copy link
Copy Markdown
Member

not sure if this can be useful as well
image

@tgross35
Copy link
Copy Markdown
Contributor Author

tgross35 commented Apr 8, 2026

or you just want update branch to "update with rebase"?

That's what I'm looking for ideally: I've hit the button in the past to restart after a CI fix and accidentally got the merge option, which I then need to manually fix. But I don't think there's any reason not to enable this for libc anyway, even if it doesn't fix the button.

Copy link
Copy Markdown
Member

@marcoieni marcoieni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, let me know how it goes. We can always revert this 👍

@marcoieni marcoieni added this pull request to the merge queue Apr 8, 2026
Merged via the queue into rust-lang:main with commit d2c55ff Apr 8, 2026
3 checks passed
@tgross35 tgross35 deleted the libc-linear branch April 8, 2026 10:10
@tgross35
Copy link
Copy Markdown
Contributor Author

tgross35 commented Apr 8, 2026

Seems it's still there and on by default unfortunately. Oh well, worth a try 🙃

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants