# Maintain root repo common dir path as a field on Worktree \(\#53023\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 20f730867763a6c9cd3af84a5eddd20d2c9575c8

Requested commit: 20f730867763a6c9cd3af84a5eddd20d2c9575c8

Commit: 20f730867763a6c9cd3af84a5eddd20d2c9575c8

Tree: f271206313af8bde201825cef9a35f04119345e4

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Maintain root repo common dir path as a field on Worktree (#53023)

This enables us to always different git worktrees of the same repo
together.

Depends on https://github.com/zed-industries/cloud/pull/2220

Release Notes:

- N/A

---------

Co-authored-by: Eric Holk <eric@zed.dev>
```

## Parents

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

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