summaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-15 19:15:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-15 19:15:40 -0400
commita243fb1c7f04817fa19209689849aa2fe8631b3d (patch)
tree87787819c4c5a9fc62956533c02d7ca92907fbfb /Annex
parentb7afd7a5cb16fc1c38c9090d84c92df1d59c5ae9 (diff)
fix toDirectGen bug introduced in 7d345fcb307cfecb5fa834a0b17be01e4e6f5df8
Diffstat (limited to 'Annex')
-rw-r--r--Annex/Direct.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Annex/Direct.hs b/Annex/Direct.hs
index 596c90994..67822f2d5 100644
--- a/Annex/Direct.hs
+++ b/Annex/Direct.hs
@@ -191,6 +191,7 @@ toDirectGen k f = do
{- Move content from annex to direct file. -}
thawContentDir loc
updateInodeCache k loc
+ addAssociatedFile k f
thawContent loc
replaceFile f $ liftIO . moveFile loc
fromdirect = do