Skip to content

git: Allow committing in restrictive worktrees#50749

Merged
Anthony-Eid merged 1 commit intomainfrom
allow-commits-in-restrictive-worktrees
Mar 4, 2026
Merged

git: Allow committing in restrictive worktrees#50749
Anthony-Eid merged 1 commit intomainfrom
allow-commits-in-restrictive-worktrees

Conversation

@Anthony-Eid
Copy link
Copy Markdown
Contributor

follow up on: #50649

When committing in a restrictive workspace we avoid running git hooks instead of failing the commit because hooks aren't allowed. I also passed in more git cli hardening configurations to use when Zed spawns git commands

Before you mark this PR as ready for review, make sure that you have:

  • Added a solid test coverage and/or screenshots from doing manual testing
  • Done a self-review taking into account security and performance aspects
  • Aligned any UI changes with the UI checklist

Release Notes:

  • N/A

We just avoid running the hook now
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 4, 2026
@Anthony-Eid Anthony-Eid enabled auto-merge (squash) March 4, 2026 21:27
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 4, 2026
@Anthony-Eid Anthony-Eid merged commit e717268 into main Mar 4, 2026
38 checks passed
@Anthony-Eid Anthony-Eid deleted the allow-commits-in-restrictive-worktrees branch March 4, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant