mirror of
1
Fork 0
forgejo/routers/api/v1
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
..
activitypub More refactoring of `db.DefaultContext` (#27083) 2023-09-15 06:13:19 +00:00
admin Forbid removing the last admin user (#28337) (#28793) 2024-01-16 14:41:11 +00:00
misc [BRANDING] Update nodeinfo branding 2023-11-13 13:58:18 +01:00
notify More `db.DefaultContext` refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
org [MODERATION] User blocking 2023-11-13 13:58:02 +01:00
packages Another round of `db.DefaultContext` refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
repo Fix PR creation via api between branches of same repo with head field namespaced (#26986) (#29857) 2024-03-21 17:09:50 +01:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger [MODERATION] User blocking 2023-11-13 13:58:02 +01:00
user Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
utils Fix: system webhooks API bug (#28531) (#28666) 2024-01-16 14:16:55 +00:00
api.go Require token for GET subscription endpoint (#28765) (#28768) 2024-01-16 14:39:23 +00:00