From df81023501e2b0d930ec90cc6f5a6c6735f84818 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 27 Jan 2015 17:38:06 -0400 Subject: Repository tuning parameters can now be passed when initializing a repository for the first time. * init: Repository tuning parameters can now be passed when initializing a repository for the first time. For details, see http://git-annex.branchable.com/tuning/ * merge: Refuse to merge changes from a git-annex branch of a repo that has been tuned in incompatable ways. --- Annex/Init.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Annex/Init.hs') diff --git a/Annex/Init.hs b/Annex/Init.hs index 24c5e18b1..3f27a1172 100644 --- a/Annex/Init.hs +++ b/Annex/Init.hs @@ -27,6 +27,7 @@ import Logs.UUID import Logs.Trust.Basic import Types.TrustLevel import Annex.Version +import Annex.Difference import Annex.UUID import Config import Annex.Direct @@ -73,6 +74,7 @@ initialize' = do checkCrippledFileSystem unlessM isBare $ hookWrite preCommitHook + setDifferences setVersion supportedVersion ifM (crippledFileSystem <&&> not <$> isBare) ( do -- cgit v1.2.3