gitea
gitea copied to clipboard
Make the vscode clone link respect transport protocol (#20557)
Backports #20557
Is it ready to be merged now?
Is it ready to be merged now?
Usually we only backport bugfixes, not enhancements. Also the CI complains and wants the change above.
For me it's a bug, because I have HTTPS git disabled but clone in VSCode button always gives me HTTPS link. It never changes to SSH link. I had to override the template to replace HTTPS with SSH link to get it to work. I have to do this everytime a new version is released 😞
@monim67-renforce : "This branch is out-of-date with the base branch": please enable Allow Edits from Maintainers, or update with 1.17 branch.
@wxiaoguang I cannot give write access as I created the PR from wrong account. None of the account has that allow edit checkbox now. I have updated the branch by merge.
I see. Just now there is a new commit in 1.17, could you update it again? Then we can get this merged in next time.
@wxiaoguang updated again.
Another bug: Golang doesn't like the string syntax: `...//...`, it will truncate the // as comment, then result in bad script code.
https://github.com/go-gitea/gitea/issues/21224#issuecomment-1254356110