# git: Skip directories in git status output \(\#23300\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fed4b48c5727665da802f9530b337e96c4057d20

Requested commit: fed4b48c5727665da802f9530b337e96c4057d20

Commit: fed4b48c5727665da802f9530b337e96c4057d20

Tree: 524e655af9c70e94b4d5731ab98a9d97da2e8435

Author: Cole Miller

Committer: GitHub

## Message

```
git: Skip directories in git status output (#23300)

The output of `git status --porcelain=v1` includes untracked
directories, i.e. directories that have no tracked files beneath. Since
we have our own way of computing a "summary" status for each directory
in a repo, this is not helpful for Zed; and it interferes with our
handling of nested repos. So just skip these lines in the output.

Closes #23133 

Release Notes:

- Fix project panel colors when one git repository is nested beneath
another
```

## Parents

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

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