Skip to content

Commit

Permalink
Fix ssh key priority in 'git-obs repo clone' command
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Jan 14, 2025
1 parent 57d8254 commit 166cadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/commands_git/repo_clone.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ def run(self, args):
directory=args.directory,
anonymous=args.anonymous,
add_remotes=True,
ssh_private_key_path=self.gitea_login.ssh_key or args.ssh_key,
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),
)

0 comments on commit 166cadb

Please sign in to comment.