-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error opening Pull requests with changed git submodules #6945
Comments
Could it be that it is for added or deleted files? |
I did the following to fix the error:
Now the pull request works but it feels like a workaround. |
I just stumbled upon the same issue. In my case it happens when the diff contains a submodule. |
I also have submodules activated for that branch but I also have git lfs active. Is there a possibility to add a bit more debug output for what is happening here? |
So the problem is when your PR has a submodule. @ukos-git Could you change the title? |
Description
Opening a new pull request for a freshly pushed branch sometimes gives an error with an unformated html file and the following message in a
<pre>
tag:url for this is
gitea.xyz/user/repo/compare/master...branch
Not sure if this helps but this is the last line of the gitea.log:
_issues`, `05/14 12:03:42 ^[[0m^[[32m...xorm/session_find.go:195:^[[32mnoCacheFind()^[[0m ^[[1;32m[I]^[[0m [SQL] ^[[1mSELECT `id`, `repo_id`, `name`, `content`, `is_closed`, `num_issues`, `05/14 12:03:42 ^[[0m^[[32m...xorm/session_find.go:195:^[[32mnoCacheFind()^[[0m ^[[1;32m[I]^[[0m [SQL] ^[[1mSELECT `id`, `user_id`, `repo_id`, `mode` FROM `access` WHERE (repo_id 05/14 12:03:42 ^[[0m^[[32m...s/context/context.go:138:^[[32mHTML()^[[0m ^[[1;34m[D]^[[0m Template: ^[[1mrepo/pulls/compare^[[0m
The text was updated successfully, but these errors were encountered: