# Fix file git status refresh on \.gitignore update \(\#9466\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 192cd5f2d2096b535d34beca23b5a8ff842f325d

Requested commit: 192cd5f2d2096b535d34beca23b5a8ff842f325d

Commit: 192cd5f2d2096b535d34beca23b5a8ff842f325d

Tree: a7147a6fb07f9e9da259530717b099f7647c28d6

Author: Andrew Lygin

Committer: GitHub

## Message

```
Fix file git status refresh on .gitignore update (#9466)

This PR fixes file name coloring in the project panel and tabs when
.gitignore file is updated. It's intended to fix #7831.

There's another, less vivid, problem with git-aware labels coloring.
It's about files that are both ignored and contained in the git index.
I'll file a separate issue for it to keep this fix focused.

Release Notes:

- Fixed file Git status refreshing on .gitignore update (#7831).
```

## Parents

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

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