From c21998722cb6a65993a3b72e66b225443cfce48b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 22 Mar 2011 17:41:06 -0400 Subject: 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. --- Annex.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Annex.hs') 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 -- cgit v1.2.3