From a97c9e43b71fbcbbf909cf8b33b57bbd55fe9ccf Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Sep 2014 13:21:35 -0400 Subject: [PATCH] The annex-rsync-transport configuration is now also used when checking if a key is present on a rsync remote, and when dropping a key from the remote. --- Remote/Rsync.hs | 2 +- debian/changelog | 3 +++ doc/bugs/annex-rsync-transport_ignored.mdwn | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Remote/Rsync.hs b/Remote/Rsync.hs index f7b3461a0d..698d733e61 100644 --- a/Remote/Rsync.hs +++ b/Remote/Rsync.hs @@ -92,7 +92,7 @@ gen r u c gc = do genRsyncOpts :: RemoteConfig -> RemoteGitConfig -> [CommandParam] -> RsyncUrl -> RsyncOpts genRsyncOpts c gc transport url = RsyncOpts { rsyncUrl = url - , rsyncOptions = opts [] + , rsyncOptions = transport ++ opts [] , rsyncUploadOptions = transport ++ opts (remoteAnnexRsyncUploadOptions gc) , rsyncDownloadOptions = transport ++ opts (remoteAnnexRsyncDownloadOptions gc) , rsyncShellEscape = M.lookup "shellescape" c /= Just "no" diff --git a/debian/changelog b/debian/changelog index fee2a3666a..c5cde761ca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,9 @@ git-annex (5.20140832) UNRELEASED; urgency=medium untrusted. * Fix parsing of ipv6 address in git remote address when it was not formatted as an url. + * The annex-rsync-transport configuration is now also used when checking + if a key is present on a rsync remote, and when dropping a key from + the remote. -- Joey Hess Thu, 04 Sep 2014 16:17:22 -0400 diff --git a/doc/bugs/annex-rsync-transport_ignored.mdwn b/doc/bugs/annex-rsync-transport_ignored.mdwn index 385da139a1..1c6923a885 100644 --- a/doc/bugs/annex-rsync-transport_ignored.mdwn +++ b/doc/bugs/annex-rsync-transport_ignored.mdwn @@ -25,3 +25,6 @@ git annex version gives: upgrade supported from repository versions: 0 1 2 4 which is the latest available linux-armel version. + +> Also removing didn't use the configured transport. Both [[fixed|done]] +> --[[Joey]]