aboutsummaryrefslogtreecommitdiff
path: root/Upgrade/V5.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Upgrade/V5.hs')
-rw-r--r--Upgrade/V5.hs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Upgrade/V5.hs b/Upgrade/V5.hs
new file mode 100644
index 000000000..cf273bb16
--- /dev/null
+++ b/Upgrade/V5.hs
@@ -0,0 +1,18 @@
+{- git-annex v5 -> v6 uppgrade support
+ -
+ - Copyright 2015 Joey Hess <id@joeyh.name>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Upgrade.V5 where
+
+import Common.Annex
+import Config
+
+upgrade :: Bool -> Annex Bool
+upgrade automatic = do
+ unless automatic $
+ showAction "v5 to v6"
+ configureSmudgeFilter
+ return True