# git_ui: Update project diff more aggressively \(\#39642\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e680dfb0a00ab144995e696ad3c59477dc483c00

Requested commit: e680dfb0a00ab144995e696ad3c59477dc483c00

Commit: e680dfb0a00ab144995e696ad3c59477dc483c00

Tree: 57e831100e89fdf1d222a7b5d8789883c9a874e6

Author: Cole Miller

Committer: GitHub

## Message

```
git_ui: Update project diff more aggressively (#39642)

This fixes a regression in #39557--for the project diff, we rely on
getting an event when a path inside a git repository changes, even if
the git state of the repository didn't change as a result (e.g. a new
modification to a file that already had the "modified" status).

I've also changed this code to send the `UpdateRepository` proto message
even when the git state didn't change, since otherwise we have the same
problem in SSH and collab projects.

Release Notes:

- N/A
```

## Parents

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

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