forgejo/services
zeripath 4199d28053
When updating by rebase we need to set the environment for head repo (#22535)
The update by rebase code reuses the merge code but shortcircuits and
pushes back up to the head. However, it doesn't set the correct pushing
environment - and just uses the same environment as the base repo. This
leads to the push update failing and thence the PR becomes out-of-sync
with the head.

This PR fixes this and adjusts the trace logging elsewhere to help make
this clearer.

Fix #18802

Signed-off-by: Andrew Thornton <art27@cantab.net>

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2023-01-19 17:31:44 -05:00
..
agit
asymkey Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
attachment
auth Support scoped access tokens (#20908) 2023-01-17 15:46:03 -06:00
automerge
context
convert Fix pull request API field closed_at always being null (#22482) 2023-01-17 11:42:32 +00:00
cron Add cron method to gc LFS MetaObjects (#22385) 2023-01-16 13:50:53 -06:00
externalaccount
forms Support scoped access tokens (#20908) 2023-01-17 15:46:03 -06:00
gitdiff
issue Fix issue not auto-closing when it includes a reference to a branch (#22514) 2023-01-18 19:24:38 -05:00
lfs
mailer Add reply hint to mail text (#22459) 2023-01-16 14:58:01 -06:00
markup
migrations Fix assignment to cm.AssigneeID when importing comments (#22528) 2023-01-19 13:24:40 -05:00
mirror
org
packages Display unreferenced packages total size in package admin panel (#22498) 2023-01-18 09:52:04 -06:00
pull When updating by rebase we need to set the environment for head repo (#22535) 2023-01-19 17:31:44 -05:00
release
repository When updating by rebase we need to set the environment for head repo (#22535) 2023-01-19 17:31:44 -05:00
task
user
webhook
wiki Improve utils of slices (#22379) 2023-01-11 13:31:16 +08:00