# Git: reload index before reading it \(\#27386\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 11552cc0bda744672d872aedfbe3828dce7c5be3

Requested commit: 11552cc0bda744672d872aedfbe3828dce7c5be3

Commit: 11552cc0bda744672d872aedfbe3828dce7c5be3

Tree: 3e128aa10d5d2501f11b19c0658e54d20f915ab6

Author: João Marcos

Committer: GitHub

## Message

```
Git: reload index before reading it (#27386)

This is one of the causes for race conditions, but isn't a specific bug fix by itself.

Release Notes:

- N/A

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
```

## Parents

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

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