-
Notifications
You must be signed in to change notification settings - Fork 5k
500 when get commits info of submodule #6007
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
Can you reproduce the bug at try.gogs.io? |
Yes. Look at the repo: https://try.gogs.io/dimorphus/test |
Thanks 👍 |
Interestingly... I couldn't reproduce locally with Git 2.25.2. Which makes me wonder if it's a problem with old Git. The demo server is using git 1.8.3.1, which Git binary version do you have on your server? |
Debian 10. git version 2.20.1 |
OK, problem found! You can open https://try.gogs.io/dimorphus/test now, waiting CI to merge. |
The problem is not solved. The error is still included. 500: An error has occurred : get submodule "tcpdf": revision does not exist Application Version: 0.12.3 git version 2.20.1 |
Have the same issue here, but only on specific branches of the repo. I assume certain styles of commit histories break the system ? |
Describe the bug
Gogs fails to display repo in web interface and raises 500 error. This happens when gogs fails to fetch commits info from git submodules in bare repo. Gogs worked correctly two of three versions back on debian 10.
Gogs version or commit
Gogs: Go Git Service 0.12.0+dev
Git version
git version 2.20.1
Operating system
Debian GNU/Linux 10 (buster)
Additional context
The text was updated successfully, but these errors were encountered: