cli/pkg/cmd/pr
Tyler McGoffin ec9eaef048 Refactor prSelectorForCurrentBranch and tests
Replace the git config argument in prSelectorForCurrentBranch with
the branchConfig it was used to fetch. The tests needed to be refactored
accordingly to support this change to the prSelectorForCurrentBranch API.
In addition, I've moved the test to a table test format so I can expand
the test coverage in the next commit.
2025-01-08 14:34:49 -08: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 Change ReadBranchConfig error message in gh pr create 2025-01-08 11:40:42 -08: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 Remove named returns from ReadBranchConfig and surface errors 2025-01-07 13:54:43 -08:00
status Refactor prSelectorForCurrentBranch and tests 2025-01-08 14:34:49 -08: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