diff options
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r-- | GitAnnex.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs index bc3541676..4af10a9ce 100644 --- a/GitAnnex.hs +++ b/GitAnnex.hs @@ -119,7 +119,7 @@ options = Option.common ++ "skip files not using a key-value backend" ] ++ Option.matcher where - setnumcopies v = Annex.changeState $ \s -> s {Annex.forcenumcopies = readMaybe v } + setnumcopies v = Annex.changeState $ \s -> s {Annex.forcenumcopies = readish v } setgitconfig :: String -> Annex () setgitconfig v = do newg <- inRepo $ Git.Config.store v |