aboutsummaryrefslogtreecommitdiff
path: root/Command/ReKey.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-12-22 13:23:33 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-12-22 13:42:58 -0400
commit0da2a837d1634164695591029072b88cd56b46e7 (patch)
tree7c8dea2beeb08007df09c0b6f02d1b7943b7970b /Command/ReKey.hs
parent0ac35d9b0ea997f9d6051d86889f4bb4df914498 (diff)
refactoring
no behavior changes
Diffstat (limited to 'Command/ReKey.hs')
-rw-r--r--Command/ReKey.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/ReKey.hs b/Command/ReKey.hs
index fe13d4dd4..9fb8515c0 100644
--- a/Command/ReKey.hs
+++ b/Command/ReKey.hs
@@ -12,7 +12,7 @@ import Command
import qualified Annex
import Types.Key
import Annex.Content
-import qualified Command.Add
+import Annex.Ingest
import Logs.Web
import Logs.Location
import Utility.CopyFile
@@ -70,6 +70,6 @@ cleanup file oldkey newkey = do
-- Update symlink to use the new key.
liftIO $ removeFile file
- Command.Add.addLink file newkey Nothing
+ addLink file newkey Nothing
logStatus newkey InfoPresent
return True