summaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-12-22 18:31:44 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-12-22 18:31:44 -0400
commit06bafae9e016b4d65c023546516e51bd32b08649 (patch)
tree25ec8e4ed7a2ebcb5363df4284df8c690c30e1fe /Annex.hs
parentcf496f09ab3777cc4ffe601e876b432dc320bd12 (diff)
Format strings can be specified using the new --find option, to control what is output by git annex find.
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Annex.hs b/Annex.hs
index e5792fbcb..e82ffc5d1 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -37,6 +37,7 @@ import Types.BranchState
import Types.TrustLevel
import Types.UUID
import qualified Utility.Matcher
+import qualified Utility.Format
import qualified Data.Map as M
-- git-annex's monad
@@ -62,7 +63,7 @@ data AnnexState = AnnexState
, force :: Bool
, fast :: Bool
, auto :: Bool
- , print0 :: Bool
+ , format :: Maybe Utility.Format.Format
, branchstate :: BranchState
, catfilehandle :: Maybe CatFileHandle
, forcebackend :: Maybe String
@@ -85,7 +86,7 @@ newState gitrepo = AnnexState
, force = False
, fast = False
, auto = False
- , print0 = False
+ , format = Nothing
, branchstate = startBranchState
, catfilehandle = Nothing
, forcebackend = Nothing