# Remove project strong reference from git panel's log output editor \(\#27496\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0a3c8a6790a581e85803dc836d70e9a238d955ad

Requested commit: 0a3c8a6790a581e85803dc836d70e9a238d955ad

Commit: 0a3c8a6790a581e85803dc836d70e9a238d955ad

Tree: 112b5b196d2ea7eacbd8a6cb29527bedf3999ba9

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Remove project strong reference from git panel's log output editor (#27496)

A readonly buffer built from a static `&str` output does not need rich
project-based capabilities, and leaking projects in global git panel
might be dangerous.

Also adds readonly capability to the buffer, as
`editor.set_read_only(true);` API is a separate thing.

Release Notes:

- N/A
```

## Parents

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

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