Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not create empty ".ssh" directory when loading config (go-gitea#20289
) Creating the directory automatically is not correct. In other places for ssh key writing (RewriteAllPrincipalKeys / appendAuthorizedKeysToFile, etc), the directory will still be created when updating the keys. This PR will resolve the confusing and annoying problem: the dummy and empty ".ssh" directory in new git home.
- Loading branch information