summaryrefslogtreecommitdiff
path: root/Upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'Upgrade')
-rw-r--r--Upgrade/V1.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Upgrade/V1.hs b/Upgrade/V1.hs
index f1c3e6143..270de5f74 100644
--- a/Upgrade/V1.hs
+++ b/Upgrade/V1.hs
@@ -61,18 +61,19 @@ upgrade = do
if Git.repoIsLocalBare g
then do
moveContent
+ setVersion
else do
moveContent
updateSymlinks
moveLocationLogs
Annex.queueRun
+ setVersion
-- add new line to auto-merge hashed location logs
-- this commits, so has to come after the upgrade
liftIO $ Command.Init.gitAttributesWrite g
- setVersion
return True
moveContent :: Annex ()