Closed
Description
Description
I have a repository with a vendor folder in the master branch. In separate feature branch, I deleted this folder and replaced it with a git submodule. I then tried to create a Pull Request in the gitea UI, which causes a 500 Internal Server Error:
Error in the logs:
2022/04/26 16:20:39 ...ers/web/repo/pull.go:1164:CompareAndPullRequestPost() [E] NewPullRequest: exit status 128 - vendor: unmerged (b9193c1afe1d0bd874d6f995bcbf1fc98d249588)
fatal: git-write-tree: error building trees
Gitea Version
1.16.6 built with GNU Make 4.3, go1.18.1 : bindata, timetzdata, sqlite, sqlite_unlock_notify
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.30.3
Operating System
Official Gitea Docker image
How are you running Gitea?
Via docker-compose
Database
SQLite