git-annex/Command
Joey Hess 984c9fc052 remove optimize subcommand; use --auto instead
get, drop: Added --auto option, which decides whether to get/drop content
as needed to work toward the configured numcopies.

The problem with bundling it up in optimize was that I then found I wanted
to run an optmize that did not drop files, only got them. Considered adding
a --only-get switch to it, but that seemed wrong. Instead, let's make
existing subcommands optionally smarter.

Note that the only actual difference between drop and drop --auto is that
the latter does not even try to drop a file if it knows of not enough
copies, and does not print any error messages about files it was unable to
drop.

It might be nice to make get avoid asking git for attributes when not in
auto mode. For now it always asks for attributes.
2011-09-15 13:30:04 -04:00
..
Add.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
AddUrl.hs fix synopsis 2011-09-15 12:36:27 -04:00
ConfigList.hs git-annex-shell configlist should not be standalone 2011-08-17 14:44:31 -04:00
Copy.hs avoid version check before running version and upgrade commands 2011-03-19 18:58:49 -04:00
Describe.hs improve bare repo handing 2011-06-22 18:32:41 -04:00
Drop.hs remove optimize subcommand; use --auto instead 2011-09-15 13:30:04 -04:00
DropKey.hs add web special remote 2011-07-01 15:30:42 -04:00
DropUnused.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Find.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Fix.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
FromKey.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Fsck.hs simplify 2011-09-14 16:01:40 -04:00
Get.hs remove optimize subcommand; use --auto instead 2011-09-15 13:30:04 -04:00
InAnnex.hs finished hlint pass 2011-07-15 12:47:14 -04:00
Init.hs generalize quiet flag to output type 2011-09-01 13:35:07 -04:00
InitRemote.hs finished hlint pass 2011-07-15 12:47:14 -04:00
Lock.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Map.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Merge.hs shorten synopsis 2011-09-14 13:32:46 -04:00
Migrate.hs code simplification thanks to applicative functors 2011-08-25 01:27:19 -04:00
Move.hs unify elipsis handling 2011-07-19 14:07:23 -04:00
PreCommit.hs remove unnecessary imports 2011-06-01 11:53:43 -04:00
RecvKey.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Semitrust.hs improve bare repo handing 2011-06-22 18:32:41 -04:00
SendKey.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
SetKey.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Status.hs code simplification thanks to applicative functors 2011-08-25 01:27:19 -04:00
Trust.hs improve bare repo handing 2011-06-22 18:32:41 -04:00
Unannex.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Uninit.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Unlock.hs split groups of related functions out of Utility 2011-08-22 16:14:12 -04:00
Untrust.hs improve bare repo handing 2011-06-22 18:32:41 -04:00
Unused.hs more newline fixes 2011-09-09 01:45:41 -04:00
Upgrade.hs v3 upgrade code works 2011-06-23 02:30:20 -04:00
Version.hs moved files around 2011-08-20 16:11:42 -04:00
Whereis.hs tweak 2011-09-14 15:33:21 -04:00