Skip to content
Snippets Groups Projects

ssh: fix pushing or pulling from SSH with GIT_SSH_COMMAND set

Merged Dan Villiom Podlaski Christiansen requested to merge topic/1.0.x/issue369 into branch/1.0.x
2 files
+ 11
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
1
@@ -19,7 +19,9 @@
"""
class _Vendor(SSHVendor):
def run_command(self, host, command, username=None, port=None):
def run_command(
self, host, command, username=None, port=None, **kwargs
):
assert isinstance(command, str)
command = command.encode(SSHGitClient.DEFAULT_ENCODING)
sshcmd = ui.config(b"ui", b"ssh", b"ssh")
Loading