cli/git
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 live tests for some methods in the git package 2021-02-24 15:05:56 +01:00
client.go Find PRs using @{push} 2025-01-07 10:18:01 +11:00
client_test.go Find PRs using @{push} 2025-01-07 10:18:01 +11:00
command.go Allow client push to use insecure credential pattern 2024-11-26 22:29:58 +01:00
errors.go Refactor git client and add tests (#6525) 2022-11-03 11:58:38 +01:00
objects.go Find PRs using @{push} 2025-01-07 10:18:01 +11:00
url.go Merge pull request #8929 from cli/wm/parse-url-no-nakaed-return 2024-04-05 16:33:09 +02:00
url_test.go Merge pull request #8929 from cli/wm/parse-url-no-nakaed-return 2024-04-05 16:33:09 +02:00