mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
852edce6f8
Until now the command `git: create pull request` created its own (very nice) url to create a pull request while the the toast action after pushing used the url the git log provided (which is much less precise) This PR routes the toast action through the same PR link creation as the command (and only falls back to the git log url if something failed) --- Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content adheres to Zed's UI standards ([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) and [icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable ~Closes #ISSUE~ Release Notes: - Unified behavior of Merge/Pull Request button on push toast with command-palette action: it now also prefers the internal builder above the remote provided url --------- Co-authored-by: MrSubidubi <finn@zed.dev>