# git: Use worktree paths in the panel \(\#25950\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e7b3b8bf03f5f8693f8c330b98b656b16ab8f931

Requested commit: e7b3b8bf03f5f8693f8c330b98b656b16ab8f931

Commit: e7b3b8bf03f5f8693f8c330b98b656b16ab8f931

Tree: 6529e77055acefc47f27ec9ab62c3751a645dcd1

Author: Cole Miller

Committer: GitHub

## Message

```
git: Use worktree paths in the panel (#25950)

This PR changes the git panel to use worktree-relative paths for its
entries, instead of repository-relative paths as before. Paths that lie
outside the active repository's worktree are no longer shown in the
panel. Note that in both respects this is how the project diff editor
already works, so this PR brings those two pieces of UI into harmony.

Release Notes:

- N/A
```

## Parents

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

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