cli/pkg/cmd/pr/shared
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
..
commentable.go Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
comments.go Add support for editing last issue/pr comment (#6384) 2022-10-18 08:10:12 +00:00
completion.go Add --reviewer flag completion (#6873) 2023-01-25 18:02:13 +01:00
display.go Adding no checks message when PR has no checks 2022-10-05 22:10:38 -03:00
display_test.go Adding no checks message when PR has no checks 2022-10-05 22:10:38 -03:00
editable.go linter appeasement 2023-08-17 17:17:26 -05:00
editable_http.go Correct some typos 2023-04-21 03:51:31 +02:00
finder.go Find PRs using @{push} 2025-01-07 10:18:01 +11:00
finder_test.go Find PRs using @{push} 2025-01-07 10:18:01 +11:00
params.go chore: tidy up 2024-11-07 10:20:23 +11:00
params_test.go Replace old search utility with new search (#5366) 2022-04-06 16:44:52 +02:00
preserve.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
preserve_test.go Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
reaction_groups.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
state.go fix: ignore template flag 2024-11-07 10:20:23 +11:00
survey.go Clean up Title Survey empty title message code 2024-10-17 14:40:17 -07:00
survey_test.go Remove . from test case for TestTitleSurvey 2024-10-17 14:45:35 -07:00
templates.go Add issue create --editor 2024-07-09 21:01:50 +09:00
templates_test.go Add issue create --editor 2024-07-09 21:01:50 +09:00