cli/pkg/cmd/pr
Frederick Zhang 7fc35fd47d
Only find PRs w/ branch.<name>.merge if push.default = upstream/tracking
When push.default is not 'upstream' / 'tracking' (or 'nothing'), we can
expect local and remote branch names to be the same and solely rely on
@{push} or RemoteURL.

This fixes the wrong error message 'no pull requests found for branch
"<target branch>"' when the local branch is not pushed in the
push.default = simple / current and upstream = <target branch> setup.
2025-01-07 10:18:07 +11:00
..
checkout Fix PR checkout panic when base repo is not in remotes 2024-12-02 17:20:57 +01:00
checks Error for mutually exclusive json and watch flags 2024-12-05 10:23:13 -05:00
close Apply first round of owner/repo#number consistency 2024-03-01 14:03:18 -05:00
comment Fix tests 2024-08-16 10:11:52 -07:00
create Find PRs using @{push} 2025-01-07 10:18:01 +11:00
diff Fix tests 2024-08-16 10:11:52 -07:00
edit Replace --project.* flags' name with title in docs (#9443) 2024-08-09 13:55:14 -07:00
list Fix tests 2024-08-16 10:11:52 -07:00
merge Return err instead of silentError in merge queue check 2024-12-12 15:54:01 -07:00
ready Apply first round of owner/repo#number consistency 2024-03-01 14:03:18 -05:00
reopen Fix breaking test for PR/issue # change 2024-03-01 16:04:24 -05:00
review Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
shared Only find PRs w/ branch.<name>.merge if push.default = upstream/tracking 2025-01-07 10:18:07 +11:00
status Only find PRs w/ branch.<name>.merge if push.default = upstream/tracking 2025-01-07 10:18:07 +11:00
update-branch Rename package directory and files 2024-07-17 18:52:23 +01:00
view Adding option to return baseRefOid in pr view 2024-11-19 23:50:45 +02:00
pr.go Rename package directory and files 2024-07-17 18:52:23 +01:00