-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Can't change branch in pull request #13684
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
Comments
Could you confirm that is this still a problem? |
Yes Just checked it with Gitea 1.13.1 and nothing has changed, bug is still there. |
@f1mishutka Can you give us the stack trace of the 500 issue? |
We are seeing this on our repo as well. I got setup to compile and run gitea myself and it looks like we get stuck (or at least spend a lot of time) in Instead of recursively checking all parents, could this function be replaced with a single call to |
@parnic-sks OMG HasPreviousCommit is terrible! I'm sorry I missed that! PR incoming |
This PR improves HasPreviousCommit to prevent the automatic and recursive loading of previous commits using git merge-base --is-ancestor and git rev-list Related go-gitea#13684 Signed-off-by: Andrew Thornton <[email protected]>
hmm... actually I suspect that this may be the cause of the problems on 1.13 too so maybe I should just replace the function entirely even for the go-git variant. |
) This PR improves HasPreviousCommit to prevent the automatic and recursive loading of previous commits using git merge-base --is-ancestor and git rev-list Fix #13684 Signed-off-by: Andrew Thornton <[email protected]>
…gitea#14598) Backport go-gitea#14598 This PR improves HasPreviousCommit to prevent the automatic and recursive loading of previous commits using git merge-base --is-ancestor and git rev-list Fix go-gitea#13684 Signed-off-by: Andrew Thornton <[email protected]>
) (#14649) This PR improves HasPreviousCommit to prevent the automatic and recursive loading of previous commits using git merge-base --is-ancestor and git rev-list Fix #13684 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: 6543 <[email protected]>
Confirmed: v1.13.3 fixed this issue. Thank you! |
Hello!
I can't change branch in PR after PR was created.
Please take a look at this short screencast to see how it looks like: https://mttm.ml/16
Details:
Thank you!
The text was updated successfully, but these errors were encountered: