diff options
author | Joey Hess <joey@kitenet.net> | 2011-12-22 18:31:44 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-12-22 18:31:44 -0400 |
commit | 06bafae9e016b4d65c023546516e51bd32b08649 (patch) | |
tree | 25ec8e4ed7a2ebcb5363df4284df8c690c30e1fe /Annex.hs | |
parent | cf496f09ab3777cc4ffe601e876b432dc320bd12 (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.hs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |