# Don't show trust modal for linked worktrees if main is trusted \(\#57153\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c5f6fca756fecbfb177f4f8b791483a7e1ebb9bb)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c5f6fca756fecbfb177f4f8b791483a7e1ebb9bb

Requested commit: c5f6fca756fecbfb177f4f8b791483a7e1ebb9bb

Commit: c5f6fca756fecbfb177f4f8b791483a7e1ebb9bb

Tree: 9c4d1a04ba1128a19637e782b2fc29d2637377ae

Author: Danilo Leal

Committer: GitHub

## Message

```
Don't show trust modal for linked worktrees if main is trusted (#57153)

Follow up to https://github.com/zed-industries/zed/pull/57056 — This PR
ensures we're refreshing the security modal so that it consumes the
trust given to the main worktree when creating a new linked (Git)
worktree.

Release Notes:

- N/A
```

## Parents

- [589dc95c87e8a39c4a7d1f146df393bd2ef6d639](https://git.cafe/gitcafe/zed/commit/589dc95c87e8a39c4a7d1f146df393bd2ef6d639?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c5f6fca756fecbfb177f4f8b791483a7e1ebb9bb?format=markdown)
