diff options
author | Joey Hess <joey@kitenet.net> | 2011-09-14 13:47:22 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-09-14 13:47:22 -0400 |
commit | 949b3f69d0f2b2a5c32a00d05d09a0b312fad35a (patch) | |
tree | cc81f8d61652741e365309b86a8020edbce6318e /Command/Fsck.hs | |
parent | 1ac6217c74b63b9b154d5ee14ed72df8b5aa9268 (diff) |
optimize: A new subcommand that either gets or drops file content as needed to work toward meeting the configured numcopies setting.
This is currently rather simplistic, though still useful.
In the future, it could become smarter about what content is stored where,
etc.
Diffstat (limited to 'Command/Fsck.hs')
-rw-r--r-- | Command/Fsck.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs index 529a5015a..cdc68581e 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -34,7 +34,7 @@ command = [repoCommand "fsck" (paramOptional $ paramRepeating paramPath) seek "check for problems"] seek :: [CommandSeek] -seek = [withAttrFilesInGit "annex.numcopies" start] +seek = [withNumCopies start] start :: CommandStartAttrFile start (file, attr) = notBareRepo $ isAnnexed file $ \(key, backend) -> do |