-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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 when pushing to new repo: Internal Server Response Decoding Failed #24167
Labels
Comments
Could be fixed by: Fix incorrect internal response type #24173 |
The error is not printed anymore but the formatting seems a little off to me. gabriel@tbook:~/tmp/qwer$ git push -u origin master
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 861 bytes | 861.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
remote: . Processing 1 references <-------------- THIS LINE HERE
remote: Processed 1 references in total
To localhost:a/qwer.git
* [new branch] master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'. |
It's related to this one: |
techknowlogick
pushed a commit
that referenced
this issue
Apr 18, 2023
Close #24167 The endpoint "set-default-branch" returns `success`, so just decode it as `responseText`
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
To reproduce:
Important: use
master
branch in this test. Problem does not reproduce withmain
.Expected: push works and success message is received from remote.

Got: push works but error message is received from remote:
It seems to problem was introduced in f453879.
Gitea Version
last commit in master
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
make build && ./gitea web
Database
None
The text was updated successfully, but these errors were encountered: