-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
500 Internal server error when trying to merge a pull request #8133
Comments
I tested the Are there any notable differences about the PR? Does the function always fail for all PRs (or any success)? |
For info, Strange thing, the The whole sequence is pretty straightforward. Is it possible that something particular is happening to |
I am able to reproduce the error by using Git 1.8.3.4 Steps:
|
I tested it with Git v1.8.5.6 and onward and they all pass the tests. The problem has been fixed since the version. |
@typeless the available version of Git in the default RHEL7 repos is 1.8.3.1. You are saying that the issue here is with that version of |
Yes. The exact version that can pass the tests is 1.8.4 and onward as far as I can tell. |
Even with rh-git-2.18 from the Red Hat SCL, which is git 2.18.1, I'm getting the exact same error. On top of that when I |
@rmbleeker
I have tested with many different versions of git built from source. UPDATE: you don't need to build Git from source like I did if you are going to run the tests. Just using the rh-2.18 and the default 1.8.3.1 is okay. |
After some further investigations, I found that
I am looking for some flags that make the behavior consistent. I suppose it is related to https://github.com/git/git/blob/master/Documentation/RelNotes/1.8.4.txt#L226-L232 |
I am unable to merge any PRs! |
I upgraded git version 2.16.5 and it works now 😄 |
This now works with git 1.8.3.1 on RedHat 7.6 as well. |
I do recommend if you can upgrading git - git 2 has a number of features that can speed things up. |
I had same issue, for me removing the content of the protect_branch and protected_branch Table in the gittea Database Table fixed it |
Description
When trying to automatically merge a pull request, the following error occurs
Originally posted by @rmbleeker in #8029 (comment)
The text was updated successfully, but these errors were encountered: