summaryrefslogtreecommitdiff
path: root/Command/Unannex.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Unannex.hs')
-rw-r--r--Command/Unannex.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Unannex.hs b/Command/Unannex.hs
index b9190ce04..e97b6d05d 100644
--- a/Command/Unannex.hs
+++ b/Command/Unannex.hs
@@ -55,7 +55,7 @@ cleanup file key = do
if fast
then do
-- fast mode: hard link to content in annex
- src <- fromRepo $ gitAnnexLocation key
+ src <- inRepo $ gitAnnexLocation key
liftIO $ do
createLink src file
allowWrite file