summaryrefslogtreecommitdiff
path: root/GitAnnex
diff options
context:
space:
mode:
Diffstat (limited to 'GitAnnex')
-rw-r--r--GitAnnex/Options.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/GitAnnex/Options.hs b/GitAnnex/Options.hs
index 063ca995b..10fcc0073 100644
--- a/GitAnnex/Options.hs
+++ b/GitAnnex/Options.hs
@@ -66,7 +66,7 @@ options = Option.common ++
where
trustArg t = ReqArg (Remote.forceTrust t) paramRemote
setnumcopies v = maybe noop
- (\n -> Annex.changeState $ \s -> s { Annex.globalnumcopies = Just $ NumCopies n })
+ (\n -> Annex.changeState $ \s -> s { Annex.forcenumcopies = Just $ NumCopies n })
(readish v)
setuseragent v = Annex.changeState $ \s -> s { Annex.useragent = Just v }
setgitconfig v = inRepo (Git.Config.store v)