fast mode

Add --fast flag, that can enable less expensive, but also less thurough versions of some commands.

* Add --fast flag, that can enable less expensive, but also less thurough
  versions of some commands.
* fsck: In fast mode, avoid checking checksums.
* unused: In fast mode, just show all existing temp files as unused,
  and avoid expensive scan for other unused content.
This commit is contained in:
Joey Hess 2011-03-22 17:41:06 -04:00
parent aa2d8e33df
commit c21998722c
6 changed files with 36 additions and 10 deletions

View file

@ -278,6 +278,12 @@ Many git-annex commands will stage changes for later `git commit` by you.
Force unsafe actions, such as dropping a file's content when no other
source of it can be verified to still exist. Use with care.
* --fast
Enables less expensive, but also less thorough versions of some commands.
What is avoided depends on the command. A fast fsck avoids calculating
checksums; a fast unused only shows temp files and not other unused files.
* --quiet
Avoid the default verbose logging of what is done; only show errors