aboutsummaryrefslogtreecommitdiff
path: root/Annex/Content
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-11 00:39:50 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-11 00:41:19 -0400
commit9c77052ce05f449e0951b802a448e9e87756b91e (patch)
tree742b25437297483df8534bcc9d6f90259738393d /Annex/Content
parent7be93ff4de1b3cb5fb072feb126e02042d58b44b (diff)
random hlint (to give the autobuilder something new to build)
Diffstat (limited to 'Annex/Content')
-rw-r--r--Annex/Content/Direct.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Content/Direct.hs b/Annex/Content/Direct.hs
index b60ab9b1b..7a4fba455 100644
--- a/Annex/Content/Direct.hs
+++ b/Annex/Content/Direct.hs
@@ -66,7 +66,7 @@ changeAssociatedFiles key transform = do
mapping <- calcRepo $ gitAnnexMapping key
files <- associatedFilesRelative key
let files' = transform files
- when (files /= files') $ do
+ when (files /= files') $
modifyContent mapping $
liftIO $ viaTmp writeFileAnyEncoding mapping $
unlines files'