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
e680dfb0a0Cole Miller committed on 10/6/2025, 9:52:23 PM· committed by GitHubparent31544d2
4 files changedLine totals unavailable