mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-06 05:33:14 +00:00
Change the default SSH clone url to the ssh:// style
Rather than using an scp-style URI, use the same URL style for SSH clones as for HTTP(S) ones. This is not only more consistent, but the URL style allows one to specify a port, and makes it clear that it is an SSH clone URL. git itself favours the URL style, and mentions the scp-style in passing only. Said style is prominently used by GitHub, and might be more familiar for a lot of people, but other than familiarity, it has no advantage over the URL style. For the benefit of consistency, and flexibility, lets flip the default, and make it the URL style. Instance admins who prefer to use the scp-style, and are running SSH on its standard port, can change the setting back to false. This addresses #3193. Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
This commit is contained in:
parent
e4aa7bd511
commit
dc39043cd6
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ var (
|
||||||
PreferredLicenses: []string{"Apache-2.0", "MIT"},
|
PreferredLicenses: []string{"Apache-2.0", "MIT"},
|
||||||
DisableHTTPGit: false,
|
DisableHTTPGit: false,
|
||||||
AccessControlAllowOrigin: "",
|
AccessControlAllowOrigin: "",
|
||||||
UseCompatSSHURI: false,
|
UseCompatSSHURI: true,
|
||||||
DefaultCloseIssuesViaCommitsInAnyBranch: false,
|
DefaultCloseIssuesViaCommitsInAnyBranch: false,
|
||||||
EnablePushCreateUser: false,
|
EnablePushCreateUser: false,
|
||||||
EnablePushCreateOrg: false,
|
EnablePushCreateOrg: false,
|
||||||
|
|
Loading…
Reference in a new issue