0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-02 03:39:25 -05:00
forgejo/routers/api/v1/repo
Giteabot 120a173e24
Fix PR creation via api between branches of same repo with head field namespaced (#26986) (#29857)
Backport #26986 by @norohind

Fix #20175

Current implementation of API does not allow creating pull requests
between branches of the same
repo when you specify *namespace* (owner of the repo) in `head` field in
http request body.

---------

Co-authored-by: norohind <60548839+norohind@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit 408c92938ba6f38eea1210cae2c485e1f19d4982)
2024-03-21 17:09:50 +01:00
..
action.go
avatar.go
blob.go
branch.go Also sync DB branches on push if necessary (#28361) (#28403) 2023-12-12 15:21:33 +01:00
collaborators.go
commits.go
file.go Fix missed return (#29450) (#29453) 2024-03-10 18:08:05 +07:00
fork.go
git_hook.go
git_ref.go
hook.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
hook_test.go
issue.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
issue_attachment.go
issue_comment.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
issue_comment_attachment.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
issue_dependency.go Fix issue dependencies (#27736) (#28776) 2024-01-16 14:39:23 +00:00
issue_label.go
issue_pin.go
issue_reaction.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
key.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
label.go
language.go
main_test.go
migrate.go
milestone.go
mirror.go
notes.go
patch.go
pull.go Fix PR creation via api between branches of same repo with head field namespaced (#26986) (#29857) 2024-03-21 17:09:50 +01:00
pull_review.go
release.go Fix 500 when pushing release to an empty repo (#29554) (#29564) 2024-03-10 18:45:59 +07:00
release_attachment.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
release_tags.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
repo.go Fix /api/v1/{owner}/{repo}/issue_templates 2024-03-07 21:50:27 +01:00
repo_test.go
star.go
status.go Fix GetCommitStatuses (#28787) (#28804) 2024-01-16 14:40:56 +00:00
subscriber.go
tag.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
teams.go
topic.go
transfer.go
tree.go
wiki.go