Skip to content

Gitea doesn't work with PRs that merge unrelated histories #36644

Description

@fwag

Description

When a user tries to merge two branches with unrelated histories, some links stop working (e.g
https://gitea.test/org/repo/pulls/1/files returns 400)

Gitea Version

1.25.4

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

on premise instance

Database

PostgreSQL

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions