aboutsummaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-03-22 17:41:06 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-03-22 17:41:06 -0400
commitc21998722cb6a65993a3b72e66b225443cfce48b (patch)
treed09ad584739a119b5e74023bd735f2bc3085a1b2 /Annex.hs
parentaa2d8e33df3fc6ba204e28001ab0d1d231c9c58e (diff)
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.
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Annex.hs b/Annex.hs
index 608151d82..f45415a72 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -40,6 +40,7 @@ data AnnexState = AnnexState
, repoqueue :: GitQueue.Queue
, quiet :: Bool
, force :: Bool
+ , fast :: Bool
, defaultbackend :: Maybe String
, defaultkey :: Maybe String
, toremote :: Maybe String
@@ -56,6 +57,7 @@ newState gitrepo allbackends = AnnexState
, repoqueue = GitQueue.empty
, quiet = False
, force = False
+ , fast = False
, defaultbackend = Nothing
, defaultkey = Nothing
, toremote = Nothing