Format strings can be specified using the new --find option, to control what is output by git annex find.

This commit is contained in:
Joey Hess 2011-12-22 18:31:44 -04:00
parent cf496f09ab
commit 06bafae9e0
7 changed files with 47 additions and 11 deletions

View file

@ -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