diff options
author | Joey Hess <joey@kitenet.net> | 2012-04-21 14:06:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-04-21 15:36:52 -0400 |
commit | b4a5e39ee62020380fc0dcf7aecaaf593d44dba5 (patch) | |
tree | a1568a517e886440a8321472a1aeac8cb517f6ea /Command/Unannex.hs | |
parent | 10d3e9162624cec5ef60e175cbf33b62f1efe90b (diff) |
Support git's core.sharedRepository configuration
This is incomplete, it does not honor it yet for hash directories
and other annex bookkeeping files. Some of that is not needed for a bare
repo; some of it may be.
Diffstat (limited to 'Command/Unannex.hs')
-rw-r--r-- | Command/Unannex.hs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Command/Unannex.hs b/Command/Unannex.hs index 1e7313711..bf931adfd 100644 --- a/Command/Unannex.hs +++ b/Command/Unannex.hs @@ -10,7 +10,6 @@ module Command.Unannex where import Common.Annex import Command import qualified Annex -import Utility.FileMode import Logs.Location import Annex.Content import qualified Git.Command @@ -51,9 +50,8 @@ cleanup file key = do ( do -- fast mode: hard link to content in annex src <- inRepo $ gitAnnexLocation key - liftIO $ do - createLink src file - allowWrite file + liftIO $ createLink src file + thawContent file , do fromAnnex key file logStatus key InfoMissing |