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
|
@ -53,10 +53,9 @@ options = Option.common ++
|
|||
] ++ Option.matcher
|
||||
where
|
||||
setnumcopies v = maybe noop
|
||||
(\n -> Annex.changeGitConfig $ \c -> c { annexNumCopies = n })
|
||||
(\n -> Annex.changeState $ \s -> s { Annex.forcenumcopies = Just n })
|
||||
(readish v)
|
||||
setgitconfig v = Annex.changeGitRepo =<< inRepo (Git.Config.store v)
|
||||
|
||||
trustArg t = ReqArg (Remote.forceTrust t) paramRemote
|
||||
|
||||
keyOptions :: [Option]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue