summaryrefslogtreecommitdiff
path: root/GitAnnex
diff options
context:
space:
mode:
Diffstat (limited to 'GitAnnex')
-rw-r--r--GitAnnex/Options.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/GitAnnex/Options.hs b/GitAnnex/Options.hs
index e74fc0a03..2cfdfafd2 100644
--- a/GitAnnex/Options.hs
+++ b/GitAnnex/Options.hs
@@ -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]