summaryrefslogtreecommitdiff
path: root/Command/AddUnused.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/AddUnused.hs
parent0ac35d9b0ea997f9d6051d86889f4bb4df914498 (diff)
refactoring
no behavior changes
Diffstat (limited to 'Command/AddUnused.hs')
-rw-r--r--Command/AddUnused.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/AddUnused.hs b/Command/AddUnused.hs
index 2b315eada..57fd0cf38 100644
--- a/Command/AddUnused.hs
+++ b/Command/AddUnused.hs
@@ -10,7 +10,7 @@ module Command.AddUnused where
import Common.Annex
import Logs.Location
import Command
-import qualified Command.Add
+import Annex.Ingest
import Command.Unused (withUnusedMaps, UnusedMaps(..), startUnused)
import Types.Key
@@ -31,7 +31,7 @@ start = startUnused "addunused" perform
perform :: Key -> CommandPerform
perform key = next $ do
logStatus key InfoPresent
- Command.Add.addLink file key Nothing
+ addLink file key Nothing
return True
where
file = "unused." ++ key2file key