Make --numcopies override annex.numcopies set in .gitattributes.

This commit is contained in:
Joey Hess 2013-07-09 12:05:56 -04:00
parent deaf471eb7
commit b3db88252c
5 changed files with 12 additions and 3 deletions

View file

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