# project: Change Git repo automatically with change in file buffer \(\#36796\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d8698dffe36b2688474dd34b120f83c7880484ed

Requested commit: d8698dffe36b2688474dd34b120f83c7880484ed

Commit: d8698dffe36b2688474dd34b120f83c7880484ed

Tree: 3137f8607307a94fc6d2c79f5d9cfe4bdd1362ec

Author: rufevean

Committer: GitHub

## Message

```
project: Change Git repo automatically with change in file buffer (#36796)

### Summary

* Auto-activates the active repository when opening a buffer.
* Prepares branching for future support of a user choice (e.g.,
`auto_activate_repo_on_open` flag).

### Release Notes

* **Improved**: Opening a buffer now automatically updates the active
repository.
```

## Parents

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

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