Make --numcopies override annex.numcopies set in .gitattributes.
This commit is contained in:
parent
deaf471eb7
commit
b3db88252c
5 changed files with 12 additions and 3 deletions
2
Annex.hs
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue