diff options
author | Joey Hess <joey@kitenet.net> | 2012-06-12 11:32:06 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-06-12 11:32:06 -0400 |
commit | 942d8f72984377c4e69d7c55877621d434e5d687 (patch) | |
tree | da1f205c66d57a4a88c727af382c4d6e09c2e881 /Command/Move.hs | |
parent | 85f0992c0378aad442da5dbbd5deadffe33f77e1 (diff) |
hlint
Diffstat (limited to 'Command/Move.hs')
-rw-r--r-- | Command/Move.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Move.hs b/Command/Move.hs index 8612c9f2d..6ec7cd90a 100644 --- a/Command/Move.hs +++ b/Command/Move.hs @@ -128,9 +128,9 @@ fromOk src key expensive = do u <- getUUID remotes <- Remote.keyPossibilities key - return $ u /= Remote.uuid src && any (== src) remotes + return $ u /= Remote.uuid src && elem src remotes fromPerform :: Remote -> Bool -> Key -> CommandPerform -fromPerform src move key = moveLock move key $ do +fromPerform src move key = moveLock move key $ ifM (inAnnex key) ( handle move True , do |