# git: Don't call \`git2::Repository::find_remote\` for every blamed buffer \(\#44107\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d5ed9d3e3a96492c049a1ab50819f196ed255037

Requested commit: d5ed9d3e3a96492c049a1ab50819f196ed255037

Commit: d5ed9d3e3a96492c049a1ab50819f196ed255037

Tree: 62383ed58c066c9b3c520fc947dfb26201dec634

Author: Cole Miller

Committer: GitHub

## Message

```
git: Don't call `git2::Repository::find_remote` for every blamed buffer (#44107)

We already store the remote URLs for `origin` and `upstream` in the
`RepositorySnapshot`, so just use that data. Follow-up to #44092.

Release Notes:

- N/A
```

## Parents

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

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