Format strings can be specified using the new --find option, to control what is output by git annex find.
This commit is contained in:
parent
cf496f09ab
commit
06bafae9e0
7 changed files with 47 additions and 11 deletions
5
Annex.hs
5
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue