diff options
author | Joey Hess <joey@kitenet.net> | 2013-07-09 12:05:56 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-07-09 12:05:56 -0400 |
commit | b14b041bfa448dff6a486b3e04910741732b8c0e (patch) | |
tree | 7dc01563e83a80a8ffc647fb7d0f8f3d55275ccf /Annex.hs | |
parent | 48d561a7053fdcc42bf11cb41a0e0b73c5b70d68 (diff) |
Make --numcopies override annex.numcopies set in .gitattributes.
Diffstat (limited to 'Annex.hs')
-rw-r--r-- | Annex.hs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |