simplify
authorJoey Hess <joeyh@joeyh.name>
Mon, 9 Aug 2021 19:17:48 +0000 (15:17 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 9 Aug 2021 19:17:48 +0000 (15:17 -0400)
Remote/Rsync.hs

index 79c273d78003af062a173d4dc9247f4a9d239b3d..60bddd651ac1b08a891ebc45cda2e2d6d9b027b1 100644 (file)
@@ -76,7 +76,7 @@ gen r u rc gc rs = do
                fromMaybe (giveup "missing rsyncurl") $ remoteAnnexRsyncUrl gc
        let o = genRsyncOpts c gc transport url
        let islocal = rsyncUrlIsPath $ rsyncUrl o
-       return $ Just $ specialRemote' (specialRemoteCfg c) c
+       return $ Just $ specialRemote c
                (fileStorer $ store o)
                (fileRetriever $ retrieve o)
                (remove o)