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 /GitAnnex.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 'GitAnnex.hs')
-rw-r--r-- | GitAnnex.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs index 6f4e5d492..8b9e55750 100644 --- a/GitAnnex.hs +++ b/GitAnnex.hs @@ -34,6 +34,7 @@ import qualified Command.Init import qualified Command.Describe import qualified Command.InitRemote import qualified Command.Fsck +import qualified Command.Optimize import qualified Command.Unused import qualified Command.DropUnused import qualified Command.Unlock @@ -77,6 +78,7 @@ cmds = concat , Command.SetKey.command , Command.Fix.command , Command.Fsck.command + , Command.Optimize.command , Command.Unused.command , Command.DropUnused.command , Command.Find.command |