You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error 500 at the end of creating a pull request from a feature branch into the master branch, both in the same repository.
Entries in the log file:
2023/03/28 08:05:04 ...ervices/pull/pull.go:461:pushToBaseRepoHelper() [E] [6422838c-3] Unable to push PR head for WK_Agrosoft/HANNIBAL#16 (7:WK_Agrosoft/HANNIBAL:refs/pull/16/head) due to Error: exit status 1 - batch request: missing protocol: ""
batch request: missing protocol: ""
batch request: missing protocol: ""
error: failed to push some refs to 'C:\Entwicklung\wk_agrosoft\hannibal.git'
2023/03/28 08:05:04 ...ers/web/repo/pull.go:1282:CompareAndPullRequestPost() [E] NewPullRequest: Push: WK_Agrosoft/HANNIBAL:Feature-Pull-Request WK_Agrosoft/HANNIBAL:refs/pull/16/head exit status 1 - batch request: missing protocol: ""
batch request: missing protocol: ""
batch request: missing protocol: ""
error: failed to push some refs to 'C:\Entwicklung\wk_agrosoft\hannibal.git'
2023/03/28 08:05:04 ...user/notification.go:45:func1() [I] [SQL] SELECT count(*) FROM `notification` WHERE (user_id = ?) AND (status = ?) [1 1] - 3.1044ms
At the end the pull request has been created but with 0 commits and the message "pull-Request is broken..."
The same pull request can be created without error if i merge the feature branch from a forked repository into the origin/master branch.
zeripath
changed the title
Error 500 while creating Pull Request
Error 500 while creating Pull Request - Due to LFS hooks inside Gitea's repositories
Mar 28, 2023
Description
I get an error 500 at the end of creating a pull request from a feature branch into the master branch, both in the same repository.
Entries in the log file:
At the end the pull request has been created but with 0 commits and the message "pull-Request is broken..."
The same pull request can be created without error if i merge the feature branch from a forked repository into the origin/master branch.
Gitea Version
1.19.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
2.39.2, Wire Protocol Version 2 Enabled
Operating System
Windows Server 2016
How are you running Gitea?
Gitea running as a service, installed from https://dl.gitea.com/
Database
MySQL
The text was updated successfully, but these errors were encountered: