summaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-09 12:05:56 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-09 12:05:56 -0400
commitb14b041bfa448dff6a486b3e04910741732b8c0e (patch)
tree7dc01563e83a80a8ffc647fb7d0f8f3d55275ccf /Annex.hs
parent48d561a7053fdcc42bf11cb41a0e0b73c5b70d68 (diff)
Make --numcopies override annex.numcopies set in .gitattributes.
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Annex.hs b/Annex.hs
index 2f0f7f5dc..e15d31e72 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -92,6 +92,7 @@ data AnnexState = AnnexState
, catfilehandles :: M.Map FilePath CatFileHandle
, checkattrhandle :: Maybe CheckAttrHandle
, forcebackend :: Maybe String
+ , forcenumcopies :: Maybe Int
, limit :: Matcher (FileInfo -> Annex Bool)
, uuidmap :: Maybe UUIDMap
, preferredcontentmap :: Maybe PreferredContentMap
@@ -123,6 +124,7 @@ newState gitrepo = AnnexState
, catfilehandles = M.empty
, checkattrhandle = Nothing
, forcebackend = Nothing
+ , forcenumcopies = Nothing
, limit = Left []
, uuidmap = Nothing
, preferredcontentmap = Nothing