cli/pkg/cmd/pr/status
Frederick Zhang 4254818dbd
Find push remote using branch.<name>.pushRemote and remote.pushDefault
When using a push.default = current triangular workflow, apart from
using @{push} to determine the remote branch name, we should also follow
the

1. branch.<name>.pushRemote
2. remote.pushDefault
3. branch.<name>.remote

...list to determine which remote Git pushes to.
2025-01-07 10:22:39 +11:00
..
fixtures Add cmd test for pr status with counts by state 2023-05-24 16:00:34 +02:00
http.go Use go-gh/auth package for IsEnterprise, IsTenancy, and NormalizeHostname 2024-10-15 11:56:43 -07:00
http_test.go Add ghe.com to tests describing ghec data residency 2024-10-15 12:24:41 -07:00
status.go Find push remote using branch.<name>.pushRemote and remote.pushDefault 2025-01-07 10:22:39 +11:00
status_test.go Find push remote using branch.<name>.pushRemote and remote.pushDefault 2025-01-07 10:22:39 +11:00