-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Configuring time.FORMAT breaks ssh #1517
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
this is quite annoying |
Hi is this still happening in 1.8? I thought I'd got upload pack et al to be truly quiet in #5887. If it's still happening I should be able to fix. |
For the record: with current master, this is no longer an issue. |
[x]
):Description
Lately SSH access to a gitea instance of ours tracking the master branch has been broken. Doing a clone or pull over ssh simply hangs, with
gitea serv key-X --conf=...
blocking onwaitid(...)
and it's spawnedgit-upload-pack org/repo.git
blocking onread(0, ...)
.After a little digging, I tried running the expected
gitea serv ...
command as the gitea user:The first line in the output is causing the problem - it's written to stdout, which git expects to "own".
Commenting out
[time]
->FORMAT
in the configuration or commenting out thelog.Trace("...")
-call inmodules/setting/setting.go
restores SSH access to gitea.The text was updated successfully, but these errors were encountered: