cli/pkg/cmd/pr/status
Frederick Zhang 0179381efd
Find PRs using @{push}
When using a push.default = current central workflow [1], we should use
@{push} instead to locate the remote branch.

In fact, @{push} covers most cases in push.default = upstream too. The
branch.<name>.merge is probably only needed when using RemoteURL and
different remote / local branch names.

[1] https://github.com/tpope/vim-fugitive/issues/1172#issuecomment-522301607
2025-01-07 10:18:01 +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 PRs using @{push} 2025-01-07 10:18:01 +11:00
status_test.go Find PRs using @{push} 2025-01-07 10:18:01 +11:00