# Gracefully handle models searching for empty glob \(\#27370\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6b7167a32d986a62015bef7759d6c91266436dfd

Requested commit: 6b7167a32d986a62015bef7759d6c91266436dfd

Commit: 6b7167a32d986a62015bef7759d6c91266436dfd

Tree: 048419e7eefcefec9a0f82a60c554ed82329e83a

Author: Richard Feldman

Committer: GitHub

## Message

```
Gracefully handle models searching for empty glob (#27370)

Sometimes we've seen models provide an empty string for the path search
glob. This assumes they meant "*" when that happens.

Separately, this also removes an unnecessary `clone` of a `String`.

Release Notes:

- N/A
```

## Parents

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

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