diff options
Diffstat (limited to 'Command/Indirect.hs')
-rw-r--r-- | Command/Indirect.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Command/Indirect.hs b/Command/Indirect.hs index 59972a66b..668bebefb 100644 --- a/Command/Indirect.hs +++ b/Command/Indirect.hs @@ -18,6 +18,7 @@ import Annex.Direct import Annex.Content import Annex.CatFile import Annex.Version +import Annex.Perms import Init def :: [Command] @@ -80,6 +81,7 @@ perform = do fromdirect f k = do showStart "indirect" f + thawContentDir =<< calcRepo (gitAnnexLocation k) cleandirect k -- clean before content directory gets frozen whenM (liftIO $ not . isSymbolicLink <$> getSymbolicLinkStatus f) $ do moveAnnex k f |