# Fix branches with slashes in their names not being listed \(\#24809\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8c780ba2872c293d02fea18379b46acc8b423cef

Requested commit: 8c780ba2872c293d02fea18379b46acc8b423cef

Commit: 8c780ba2872c293d02fea18379b46acc8b423cef

Tree: c9590565f7a9386b0098f8927b593c58a9dc0afa

Author: Cole Miller

Committer: GitHub

## Message

```
Fix branches with slashes in their names not being listed (#24809)

`refs/heads/*` doesn't match e.g. `refs/heads/cole/branch-with-slash`
(thanks fnmatch), but `refs/heads/**/*` does. This also works for
several levels of slash.

Release Notes:

- N/A
```

## Parents

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

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