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
3505a17452Marshall Bowers committed on 2/27/2025, 2:33:25 AM· committed by GitHubparent81badd1
1 file changedLine totals unavailable