diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-18 02:39:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-18 02:39:40 -0400 |
commit | 7573e6395924f394d529bbbcefe545074c181767 (patch) | |
tree | 060474f5ead9bae680689460c4d6ae0379c01595 /Annex/Content | |
parent | db27cde123c4b2fd0e46f7f2a097e7a42451d844 (diff) |
hlint
Diffstat (limited to 'Annex/Content')
-rw-r--r-- | Annex/Content/Direct.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Content/Direct.hs b/Annex/Content/Direct.hs index e38fc23ce..67a966142 100644 --- a/Annex/Content/Direct.hs +++ b/Annex/Content/Direct.hs @@ -75,7 +75,7 @@ removeAssociatedFile key file = do addAssociatedFile :: Key -> FilePath -> Annex [FilePath] addAssociatedFile key file = do file' <- normaliseAssociatedFile file - changeAssociatedFiles key $ \files -> do + changeAssociatedFiles key $ \files -> if file' `elem` files then files else file':files |