diff options
author | Joey Hess <joey@kitenet.net> | 2010-12-29 16:58:44 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-12-29 16:58:44 -0400 |
commit | e64ffc212e394d814ab73a32f750acbccb43dd1f (patch) | |
tree | ae60f1b4d535bca39fd95b2b7a05d175b700b737 /Command/Move.hs | |
parent | ef85e699babd2aabdc64e048422456ac68244ef2 (diff) |
support trusted repositories that are not configured as remotes
Diffstat (limited to 'Command/Move.hs')
-rw-r--r-- | Command/Move.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Move.hs b/Command/Move.hs index 61242955e..eb223f5ab 100644 --- a/Command/Move.hs +++ b/Command/Move.hs @@ -110,7 +110,7 @@ toCleanup move remote key tmpfile = do fromStart :: Bool -> SubCmdStartString fromStart move file = isAnnexed file $ \(key, _) -> do remote <- Remotes.commandLineRemote - (trusted, untrusted) <- Remotes.keyPossibilities key + (trusted, untrusted, _) <- Remotes.keyPossibilities key if null $ filter (\r -> Remotes.same r remote) (trusted ++ untrusted) then return Nothing else do |