summaryrefslogtreecommitdiff
path: root/Upgrade.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Upgrade.hs')
-rw-r--r--Upgrade.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Upgrade.hs b/Upgrade.hs
index b584b2666..3c16bcc86 100644
--- a/Upgrade.hs
+++ b/Upgrade.hs
@@ -22,6 +22,7 @@ import qualified Annex
import qualified Backend
import Messages
import Version
+import Utility
{- Uses the annex.version git config setting to automate upgrades. -}
upgrade :: Annex Bool
@@ -62,7 +63,7 @@ upgradeFrom0 = do
link <- calcGitLink f k
liftIO $ removeFile f
liftIO $ createSymbolicLink link f
- Annex.queue "add" ["--"] f
+ Annex.queue "add" [Param "--"] f
fixlinks fs
getKeysPresent0' :: FilePath -> Annex [Key]