summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Command')
-rw-r--r--Command/Fsck.hs1
-rw-r--r--Command/Unannex.hs1
-rw-r--r--Command/Unlock.hs1
-rw-r--r--Command/Unused.hs2
4 files changed, 4 insertions, 1 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs
index 142f755a7..0c58add6a 100644
--- a/Command/Fsck.hs
+++ b/Command/Fsck.hs
@@ -26,6 +26,7 @@ import Locations
import Trust
import Utility.DataUnits
import Utility.Path
+import Utility.FileMode
import Config
command :: [Command]
diff --git a/Command/Unannex.hs b/Command/Unannex.hs
index 3dedd007e..4d4281eb0 100644
--- a/Command/Unannex.hs
+++ b/Command/Unannex.hs
@@ -18,6 +18,7 @@ import qualified Annex
import qualified AnnexQueue
import Utility.SafeCommand
import Utility.Path
+import Utility.FileMode
import LocationLog
import Types
import Content
diff --git a/Command/Unlock.hs b/Command/Unlock.hs
index 5817e8f22..44b92545c 100644
--- a/Command/Unlock.hs
+++ b/Command/Unlock.hs
@@ -19,6 +19,7 @@ import Content
import Utility.Conditional
import Utility.CopyFile
import Utility.Path
+import Utility.FileMode
command :: [Command]
command =
diff --git a/Command/Unused.hs b/Command/Unused.hs
index 803debef8..f62e68c30 100644
--- a/Command/Unused.hs
+++ b/Command/Unused.hs
@@ -184,7 +184,7 @@ getKeysReferenced = do
staleKeysPrune :: (Git.Repo -> FilePath) -> [Key] -> Annex [Key]
staleKeysPrune dirspec present = do
contents <- staleKeys dirspec
-
+
let stale = contents `exclude` present
let dup = contents `exclude` stale