# git_ui: Combine disjoint conditions into one \(\#25722\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3505a174529ec0faa26e347070f600686f6046c7

Requested commit: 3505a174529ec0faa26e347070f600686f6046c7

Commit: 3505a174529ec0faa26e347070f600686f6046c7

Tree: b9af0f579aea0ae7cdac502a03bdb0a14762f65d

Author: Marshall Bowers

Committer: GitHub

## Message

```
git_ui: Combine disjoint conditions into one (#25722)

This PR combines two disjoint conditions for the same value into one.

This makes it so the type checker can accurately reason about the
branches.

Release Notes:

- N/A
```

## Parents

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

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