Skip to content

git: Fix add safe directory button doing nothing (#58705) (cherry-pick to stable)#58716

Merged
zed-zippy[bot] merged 1 commit into
v1.5.xfrom
cherry-pick-v1.5.x-e5c370b3
Jun 6, 2026
Merged

git: Fix add safe directory button doing nothing (#58705) (cherry-pick to stable)#58716
zed-zippy[bot] merged 1 commit into
v1.5.xfrom
cherry-pick-v1.5.x-e5c370b3

Conversation

@zed-zippy

@zed-zippy zed-zippy Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #58705 to stable


We had a nested spawn that was disguising the fact that the actual
git_config task was being dropped immediately instead of detached.
This only seems to cause problems in release builds due to timing
issues.

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX
    checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • Fixed a bug where clicking the button to trust a git repository would
    do nothing.

We had a nested spawn that was disguising the fact that the actual
`git_config` task was being dropped immediately instead of detached.
This only seems to cause problems in release builds due to timing
issues.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- Fixed a bug where clicking the button to trust a git repository would
do nothing.
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 6, 2026
@zed-community-bot zed-community-bot Bot added the bot Pull requests authored by a bot label Jun 6, 2026
@zed-zippy zed-zippy Bot merged commit 023110e into v1.5.x Jun 6, 2026
41 checks passed
@zed-zippy zed-zippy Bot deleted the cherry-pick-v1.5.x-e5c370b3 branch June 6, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant