mirror of
https://github.com/openSUSE/osc.git
synced 2025-12-06 18:34:48 +01:00
Allow git in git-obs to be switched from SSH to http(s)
This commit is contained in:
@@ -64,7 +64,7 @@ class RepoCloneCommand(osc.commandline_git.GitObsCommand):
|
||||
owner,
|
||||
repo,
|
||||
directory=args.directory,
|
||||
use_http=args.anonymous,
|
||||
use_http=args.anonymous or self.gitea_login.git_uses_http,
|
||||
add_remotes=True,
|
||||
ssh_private_key_path=args.ssh_key or self.gitea_login.ssh_key,
|
||||
ssh_strict_host_key_checking=not(args.no_ssh_strict_host_key_checking),
|
||||
|
||||
Reference in New Issue
Block a user