Skip to content

Auto-port 4.1: Fix autoport fetching into the existing branch - again#16417

Merged
normanmaurer merged 1 commit into
4.1from
auto-port-pr-16411-to-4.1
Mar 5, 2026
Merged

Auto-port 4.1: Fix autoport fetching into the existing branch - again#16417
normanmaurer merged 1 commit into
4.1from
auto-port-pr-16411-to-4.1

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #16411 to 4.1
Cherry-picked commit: 5750880


Motivation:
There's no need to specifically fetch and create the target port branch if that is already the default branch of the checkout. Doing so will just make the fetch fail.

Modification:
Only fetch the target branch if it is different from the current branch.

Result:
We can now autoport into the default branch.

Reapplies and fixes "Fix autoport fetching into the existing branch" (#16410)

This reverts commit 42ee99d.

Motivation:
There's no need to specifically fetch and create the target port branch
if that is already the default branch of the checkout. Doing so will
just make the fetch fail.

Modification:
Only fetch the target branch if it is different from the current branch.

Result:
We can now autoport into the default branch.

Reapplies and fixes "Fix autoport fetching into the existing branch"
(#16410)

This reverts commit 42ee99d.

(cherry picked from commit 5750880)
@normanmaurer normanmaurer added this to the 4.1.132.Final milestone Mar 5, 2026
@normanmaurer normanmaurer merged commit 91e3dfd into 4.1 Mar 5, 2026
19 checks passed
@normanmaurer normanmaurer deleted the auto-port-pr-16411-to-4.1 branch March 5, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants