diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-04-23 16:00:59 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-04-23 15:24:44 +0000 |
commit | 7e0c17eb3797977cdb6debddcbec43704d1fb7fc (patch) | |
tree | a12433e49583c2815410f6871824be12f35681c3 | |
parent | 7f0663dede1c811a54a1b28e9abc556c76738928 (diff) | |
download | qt-creator-7e0c17eb3797977cdb6debddcbec43704d1fb7fc.tar.gz |
RemoteLinux: Do not use rsync's -z option
There are several ways of specifying compression, none of which are
guaranteed to work in all versions of rsync.
We will make this configurable in 4.10.
Fixes: QTCREATORBUG-22352
Change-Id: I0dbf9531cb84e15559728ac9bd3e90a9d65382e4
Reviewed-by: hjk <hjk@qt.io>
-rw-r--r-- | src/plugins/remotelinux/rsyncdeploystep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/rsyncdeploystep.cpp b/src/plugins/remotelinux/rsyncdeploystep.cpp index ba013bb649..8c04860c25 100644 --- a/src/plugins/remotelinux/rsyncdeploystep.cpp +++ b/src/plugins/remotelinux/rsyncdeploystep.cpp @@ -227,7 +227,7 @@ RsyncCommandLine RsyncDeployStep::rsyncCommand(const SshConnection &sshConnectio QStringList{SshSettings::sshFilePath().toUserOutput()} << sshConnection.connectionOptions()); const SshConnectionParameters sshParams = sshConnection.connectionParameters(); - return RsyncCommandLine(QStringList{"-e", sshCmdLine, "-avz"}, + return RsyncCommandLine(QStringList{"-e", sshCmdLine, "-av"}, sshParams.userName() + '@' + sshParams.host()); } |