aboutsummaryrefslogtreecommitdiff
path: root/Annex/Direct.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-26 20:09:15 +1100
committerGravatar Joey Hess <joey@kitenet.net>2013-01-26 20:09:15 +1100
commit8126c41bc247cfb31a3d2a9c57cb3e4783e8e37b (patch)
tree42ba9965d90455a7c9bf331803300e4bc5aab7c4 /Annex/Direct.hs
parent2b604c3556ad538ff573ec073fa1a298daf03151 (diff)
ensure that content directory is thawed when writing direct mode mapping and cache files
Diffstat (limited to 'Annex/Direct.hs')
-rw-r--r--Annex/Direct.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Annex/Direct.hs b/Annex/Direct.hs
index f43c94fcb..648bb7518 100644
--- a/Annex/Direct.hs
+++ b/Annex/Direct.hs
@@ -171,7 +171,6 @@ toDirect k f = maybe noop id =<< toDirectGen k f
toDirectGen :: Key -> FilePath -> Annex (Maybe (Annex ()))
toDirectGen k f = do
loc <- inRepo $ gitAnnexLocation k
- createContentDir loc -- thaws directory too
absf <- liftIO $ absPath f
locs <- filter (/= absf) <$> addAssociatedFile k f
case locs of