You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/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>
2 years ago
..
agit Rename almost all Ctx functions (#22071) 2 years ago
asymkey Supports wildcard protected branch (#20825) 2 years ago
attachment Add API management for issue/pull and comment attachments (#21783) 2 years ago
auth Support scoped access tokens (#20908) 2 years ago
automerge refactor some functions to support ctx as first parameter (#21878) 2 years ago
context Implement FSFE REUSE for golang files (#21840) 2 years ago
convert Fix pull request API field `closed_at` always being `null` (#22482) 2 years ago
cron Add cron method to gc LFS MetaObjects (#22385) 2 years ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Support scoped access tokens (#20908) 2 years ago
gitdiff Implement FSFE REUSE for golang files (#21840) 2 years ago
issue Fix issue not auto-closing when it includes a reference to a branch (#22514) 2 years ago
lfs Use context parameter in models/git (#22367) 2 years ago
mailer Add reply hint to mail text (#22459) 2 years ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations Fix assignment to `cm.AssigneeID` when importing comments (#22528) 2 years ago
mirror Implement FSFE REUSE for golang files (#21840) 2 years ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages Display unreferenced packages total size in package admin panel (#22498) 2 years ago
pull When updating by rebase we need to set the environment for head repo (#22535) 2 years ago
release Add API management for issue/pull and comment attachments (#21783) 2 years ago
repository When updating by rebase we need to set the environment for head repo (#22535) 2 years ago
task Implement FSFE REUSE for golang files (#21840) 2 years ago
user Unify hashing for avatar (#22289) 2 years ago
webhook fix: omit avatar_url in discord payload when empty (#22393) 2 years ago
wiki Improve utils of slices (#22379) 2 years ago