diff options
author | Joey Hess <joey@kitenet.net> | 2011-09-23 18:13:24 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-09-23 18:13:24 -0400 |
commit | 4bf1a5ef59026a095abf751ea60b586c299aa0b9 (patch) | |
tree | 067cd0813f3f315475b3b958762ed569ae95e8de /Command | |
parent | d75da353b9905bb5757df08520e63607fbfd2073 (diff) |
refactor
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Fsck.hs | 1 | ||||
-rw-r--r-- | Command/Unannex.hs | 1 | ||||
-rw-r--r-- | Command/Unlock.hs | 1 | ||||
-rw-r--r-- | Command/Unused.hs | 2 |
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 |