Description
Description
I am looking at migrating from a gitlab.com hosted private gitlab repo. Gitea looks awesome and we're keen to use it.
Our workflow there is that we create a branch for a merge request, and delete the branch on merge, squash commits and create a single new commit on the main branch (by rebasing). Some of our older MRs may have had a separate merge commit.
This is a brand new gitea install on Debian 12, installation from binary.
When I go to migrate that repository into gitea, all data imports fine - but trying to open any of the imported merged PR's gives a 500 internal server error.
GetRefCommitID, object does not exist [id: refs/pull/19/head, rel_path: ]
This has been the case with a few different repos that I have tried so is unlikely to be specific to the one repository.
Is this expected behaviour with the branches being deleted? Gitlab is still able to show the diff - I suspect it points at the merged commit afterwards.
Gitea Version
1.23.8
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.39.5
Operating System
Debian 12
How are you running Gitea?
Followed the binary installation steps, just ran from command line for this test.
Database
SQLite