Skip to content

feat: enable force push protection by default#12454

Draft
slarse wants to merge 1 commit intomasterfrom
enable-force-push-protection-by-default
Draft

feat: enable force push protection by default#12454
slarse wants to merge 1 commit intomasterfrom
enable-force-push-protection-by-default

Conversation

@slarse
Copy link
Contributor

@slarse slarse commented Feb 20, 2026

🧢 Changes

Enables force push protection by default. I feel like we want this?

Suggested in Discord

Copilot AI review requested due to automatic review settings February 20, 2026 07:44
@vercel
Copy link

vercel bot commented Feb 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
gitbutler-web Ignored Ignored Preview Feb 20, 2026 8:04am

Request Review

@github-actions github-actions bot added the rust Pull requests that update Rust code label Feb 20, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Enables force push protection by default for newly created Project instances in the gitbutler-project crate.

Changes:

  • Set Project::default_with_id() to initialize force_push_protection to true.

@slarse slarse force-pushed the enable-force-push-protection-by-default branch from ac239b6 to 678812f Compare February 20, 2026 07:55
@slarse slarse marked this pull request as draft February 20, 2026 07:56
@slarse slarse force-pushed the enable-force-push-protection-by-default branch from 678812f to b83cacb Compare February 20, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants