summaryrefslogtreecommitdiff
path: root/Types/Distribution.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-14 15:35:15 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-14 15:35:15 -0400
commit513b3a639796b06828570b6da6b049095abd5b83 (patch)
treeadc204e55854d1d5d4f75689ea17fa9624142872 /Types/Distribution.hs
parentcd4304b64943ba55ffc8beac47796affc5405fd8 (diff)
parent1029cba6ac006b34053f3f96cbee9ecafe8cc1ae (diff)
Merge branch 'master' into concurrentprogress
Conflicts: debian/changelog
Diffstat (limited to 'Types/Distribution.hs')
-rw-r--r--Types/Distribution.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/Distribution.hs b/Types/Distribution.hs
index 2a44a1575..d4de7a79b 100644
--- a/Types/Distribution.hs
+++ b/Types/Distribution.hs
@@ -25,7 +25,7 @@ type GitAnnexVersion = String
data AutoUpgrade = AskUpgrade | AutoUpgrade | NoAutoUpgrade
deriving (Eq)
-toAutoUpgrade :: (Maybe String) -> AutoUpgrade
+toAutoUpgrade :: Maybe String -> AutoUpgrade
toAutoUpgrade Nothing = AskUpgrade
toAutoUpgrade (Just s)
| s == "ask" = AskUpgrade