mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 06:59:22 +01:00
915290734a
## Summary Currently, trying to create a pr via zeds ui fails with the error: ``` Unable to construct pull request URL ``` This PR fixes this by providing an implementation of `GitHostingProvider::build_create_pull_request_url` to the Forgejo git hosting provider. ## Testing Tested by adding a unit test that verifies the generated pull request url matches the expected structure. Verified that it works end-to-end by creating a PR on codeberg via a build of this pr. ## Self-review - [X] I've reviewed my diff for quality, security, reliability, and performance. - [ ] ~~UI changes follow the checklist~~ (N/A, no UI changes) - [X] Tests cover the new or changed behavior. Release Notes: - Fixed creating pull requests from Zed for Forgejo remotes (including Codeberg).